Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [: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.0008733/0.0008756, allocations: 185.8 kB / 7.799 MB, free: 2.441 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.05/1.05, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008109/0.000811, allocations: 89.12 kB / 261.4 MB, free: 13.53 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.159/0.159, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.895e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3353, allocations: 86.9 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001579/0.3355, allocations: 71.97 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01327/0.3488, allocations: 4.985 MB / 0.5552 GB, free: 7.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3488, allocations: 0 / 0.5552 GB, free: 7.051 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003598/0.3492, allocations: 397.8 kB / 0.5556 GB, free: 6.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3492, allocations: 12.03 kB / 0.5556 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3493, allocations: 7.906 kB / 0.5556 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3495, allocations: 225.6 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3496, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3496, allocations: 4 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.697e-05/0.3497, allocations: 16 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.147e-05/0.3498, allocations: 53.67 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3498, allocations: 3.906 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3498, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.3498, allocations: 3.938 kB / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.3501, allocations: 265.5 kB / 0.5561 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.3502, allocations: 50.59 kB / 0.5562 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.3502, allocations: 16.98 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3503, allocations: 3.984 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/0.3504, allocations: 67.34 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.3504, allocations: 0 / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003487/0.3507, allocations: 141.2 kB / 0.5564 GB, free: 5.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.3508, allocations: 51.41 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3509, allocations: 162.3 kB / 0.5566 GB, free: 5.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3509, allocations: 29.7 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.351, allocations: 92.12 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.351, allocations: 23.7 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.351, allocations: 4 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.3511, allocations: 318.8 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.3511, allocations: 20 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.3512, allocations: 33.66 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.3512, allocations: 23.97 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3513, allocations: 3.906 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001358/0.3514, allocations: 89.59 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.3514, allocations: 8.031 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3514, allocations: 0 / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.3514, allocations: 0 / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3515, allocations: 23.92 kB / 0.5572 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.3515, allocations: 0 / 0.5572 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3516, allocations: 4.094 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3516, allocations: 4 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.225e-05/0.3517, allocations: 108.9 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3517, allocations: 11.89 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.3519, allocations: 114.2 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3519, allocations: 0 / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3519, allocations: 0 / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3519, allocations: 0 / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3522, allocations: 375.8 kB / 0.5578 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3523, allocations: 0 / 0.5578 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.3523, allocations: 8.188 kB / 0.5578 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3523, allocations: 4.031 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3523, allocations: 8 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3523, allocations: 0 / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3523, allocations: 0 / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001629/0.3525, allocations: 205.9 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.3526, allocations: 92.91 kB / 0.5581 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.3526, allocations: 0 / 0.5581 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.3527, allocations: 15.94 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3527, allocations: 7.984 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3528, allocations: 4 kB / 0.5582 GB, free: 3.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.425e-05/0.3529, allocations: 140.1 kB / 0.5583 GB, free: 3.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.3531, allocations: 27.94 kB / 0.5583 GB, free: 3.531 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000619/0.3537, allocations: 352.3 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3538, allocations: 51.92 kB / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.3539, allocations: 0 / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/0.3539, allocations: 28 kB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3541, allocations: 32.12 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.3545, allocations: 160.6 kB / 0.5589 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.3547, allocations: 0.727 MB / 0.5596 GB, free: 2.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3547, allocations: 0 / 0.5596 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Templates: time 0.003528/0.3583, allocations: 1.632 MB / 0.5612 GB, free: 0.5469 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches