Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007802/0.0007801, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009328/0.0009332, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.19 MB / 345.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005869/0.1069, allocations: 213.3 kB / 483.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.109, allocations: 1.554 MB / 485.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.1091, allocations: 0 / 485.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1091, allocations: 4 kB / 485.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1091, allocations: 3.938 kB / 485.5 MB, free: 2.359 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.11, allocations: 203.6 kB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.028e-05/0.11, allocations: 0 / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.11, allocations: 0 / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1101, allocations: 4 kB / 485.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.1101, allocations: 3.938 kB / 485.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.1101, allocations: 0 / 485.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1111, allocations: 0.7025 MB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.1111, allocations: 0 / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.1112, allocations: 25.7 kB / 486.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.1117, allocations: 447.3 kB / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1117, allocations: 0 / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1117, allocations: 0 / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1117, allocations: 0 / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004851/0.1122, allocations: 361.3 kB / 487.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1122, allocations: 8.875 kB / 487.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1123, allocations: 8.938 kB / 487.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.1124, allocations: 164.3 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1124, allocations: 384 / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1124, allocations: 384 / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.1125, allocations: 34.02 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1125, allocations: 0 / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1125, allocations: 7.922 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1125, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.1126, allocations: 4 kB / 487.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.1127, allocations: 149.7 kB / 487.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/0.1128, allocations: 26.55 kB / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.1128, allocations: 8.859 kB / 487.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.1128, allocations: 0 / 487.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.1129, allocations: 60.2 kB / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1129, allocations: 0 / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.113, allocations: 63.52 kB / 487.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1131, allocations: 81.11 kB / 487.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.1132, allocations: 97.8 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1132, allocations: 29.7 kB / 487.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.1132, allocations: 80.14 kB / 488 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1132, allocations: 0 / 488 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.1133, allocations: 9.719 kB / 488 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1134, allocations: 314.8 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.1134, allocations: 0 / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.1134, allocations: 8 kB / 488.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.1134, allocations: 56.27 kB / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1134, allocations: 0 / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.776e-05/0.1135, allocations: 63.41 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.1136, allocations: 41.62 kB / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1136, allocations: 0 / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1136, allocations: 0 / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1136, allocations: 3.938 kB / 488.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1136, allocations: 3.984 kB / 488.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.1137, allocations: 4.094 kB / 488.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.1137, allocations: 0 / 488.5 MB, free: 15.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/0.1138, allocations: 135.5 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.1138, allocations: 3.938 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-06/0.1138, allocations: 3.125 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1138, allocations: 3.984 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1138, allocations: 0 / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1138, allocations: 4 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.131e-05/0.1139, allocations: 145.7 kB / 488.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1139, allocations: 11.94 kB / 488.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.1139, allocations: 0 / 488.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1139, allocations: 3.938 kB / 488.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1139, allocations: 0 / 488.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1139, allocations: 4 kB / 488.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1139, allocations: 0 / 488.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.784e-05/0.1141, allocations: 90.81 kB / 488.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1141, allocations: 84.95 kB / 489 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1141, allocations: 15.95 kB / 489 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.1141, allocations: 0 / 489 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1141, allocations: 3.938 kB / 489 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1142, allocations: 0 / 489 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.1142, allocations: 75.28 kB / 489.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1142, allocations: 0 / 489.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.1146, allocations: 120 kB / 489.2 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006681/0.1153, allocations: 177.2 kB / 489.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.1154, allocations: 55.41 kB / 489.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1154, allocations: 0 / 489.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.1154, allocations: 59.47 kB / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1156, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.1158, allocations: 116.3 kB / 489.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.116, allocations: 0.6692 MB / 490.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.116, allocations: 7.438 kB / 490.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.116, allocations: 0 / 490.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004754/0.1208, allocations: 2.693 MB / 493 MB, free: 10.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches