Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000999/0.0009991, allocations: 188.8 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008045/0.0008045, allocations: 93.56 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1663/0.1663, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.45e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3414, allocations: 85.5 MB / 0.5489 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.3416, allocations: 63.97 kB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.00762/0.3493, allocations: 2.49 MB / 0.5514 GB, free: 10.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3493, allocations: 0 / 0.5514 GB, free: 10.94 MB / 394.7 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.0002666/0.3496, allocations: 384 kB / 0.5517 GB, free: 10.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3496, allocations: 8.031 kB / 0.5517 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.3496, allocations: 0 / 0.5517 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.3497, allocations: 163.1 kB / 0.5519 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3497, allocations: 0 / 0.5519 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.3498, allocations: 0 / 0.5519 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.932e-05/0.3498, allocations: 7.906 kB / 0.5519 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.358e-05/0.3499, allocations: 25.7 kB / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.3499, allocations: 0 / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3499, allocations: 4 kB / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3499, allocations: 3.938 kB / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.384e-05/0.35, allocations: 130.2 kB / 0.5521 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.098e-05/0.35, allocations: 22.5 kB / 0.5521 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.35, allocations: 4.859 kB / 0.5521 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.3501, allocations: 3.984 kB / 0.5521 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3501, allocations: 64.34 kB / 0.5522 GB, free: 9.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3501, allocations: 4 kB / 0.5522 GB, free: 9.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.3502, allocations: 33.61 kB / 0.5522 GB, free: 9.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3503, allocations: 81.11 kB / 0.5523 GB, free: 9.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.74e-05/0.3503, allocations: 85 kB / 0.5523 GB, free: 9.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3503, allocations: 25.7 kB / 0.5524 GB, free: 9.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.3504, allocations: 80.14 kB / 0.5524 GB, free: 9.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.3504, allocations: 0 / 0.5524 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.3504, allocations: 0 / 0.5524 GB, free: 9.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.3505, allocations: 325.3 kB / 0.5528 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.3505, allocations: 0 / 0.5528 GB, free: 9.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.3505, allocations: 3.938 kB / 0.5528 GB, free: 9.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.3505, allocations: 0 / 0.5528 GB, free: 9.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3505, allocations: 4 kB / 0.5528 GB, free: 9.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.417e-05/0.3506, allocations: 29.7 kB / 0.5528 GB, free: 9.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3506, allocations: 4 kB / 0.5528 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3506, allocations: 0 / 0.5528 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3506, allocations: 7.844 kB / 0.5528 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3506, allocations: 4.094 kB / 0.5528 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.3507, allocations: 0 / 0.5528 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.3507, allocations: 7.984 kB / 0.5528 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3507, allocations: 0 / 0.5528 GB, free: 9.238 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.3508, allocations: 135.5 kB / 0.5529 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.3508, allocations: 0 / 0.5529 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.3508, allocations: 3 kB / 0.553 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.3508, allocations: 4 kB / 0.553 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3508, allocations: 3.906 kB / 0.553 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3508, allocations: 4 kB / 0.553 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.843e-05/0.3509, allocations: 126.2 kB / 0.5531 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3509, allocations: 0 / 0.5531 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.3509, allocations: 0 / 0.5531 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3509, allocations: 0 / 0.5531 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3509, allocations: 4 kB / 0.5531 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3509, allocations: 7.938 kB / 0.5531 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3509, allocations: 0 / 0.5531 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.127e-05/0.351, allocations: 69.03 kB / 0.5532 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.351, allocations: 77.11 kB / 0.5532 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.351, allocations: 3.938 kB / 0.5532 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.3511, allocations: 0 / 0.5532 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.3511, allocations: 0 / 0.5532 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3511, allocations: 4 kB / 0.5532 GB, free: 8.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.105e-05/0.3511, allocations: 75.28 kB / 0.5533 GB, free: 8.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.3514, allocations: 79.86 kB / 0.5534 GB, free: 8.566 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004073/0.3518, allocations: 207.1 kB / 0.5536 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.063e-05/0.3519, allocations: 37.64 kB / 0.5536 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3519, allocations: 0 / 0.5536 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.3519, allocations: 29.7 kB / 0.5536 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.536e-05/0.352, allocations: 3.906 kB / 0.5537 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001199/0.3521, allocations: 48.19 kB / 0.5537 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3523, allocations: 0.6879 MB / 0.5544 GB, free: 7.488 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3523, allocations: 0 / 0.5544 GB, free: 7.488 MB / 394.7 MB Notification: Performance of Templates: time 0.003581/0.3559, allocations: 1.433 MB / 0.5558 GB, free: 6.059 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches