Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") [: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.0009136/0.0009137, allocations: 191 kB / 7.804 MB, free: 2.488 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.063/1.063, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008162/0.0008161, allocations: 86.62 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.1586/0.1586, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.561e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2396, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3456, allocations: 86.88 MB / 0.5502 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001482/0.3458, allocations: 75.95 kB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01261/0.3584, allocations: 5.044 MB / 0.5552 GB, free: 7.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3584, allocations: 4 kB / 0.5552 GB, free: 7 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.0003366/0.3588, allocations: 405.6 kB / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3588, allocations: 8.031 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3589, allocations: 15.81 kB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3591, allocations: 211.6 kB / 0.5559 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.3591, allocations: 4 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3592, allocations: 4 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.84e-05/0.3592, allocations: 19.94 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.3593, allocations: 57.58 kB / 0.5559 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3593, allocations: 3.938 kB / 0.5559 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3593, allocations: 0 / 0.5559 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-06/0.3594, allocations: 0 / 0.5559 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3596, allocations: 269.4 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.3597, allocations: 46.7 kB / 0.5562 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.3598, allocations: 24.97 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3598, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.565e-05/0.3599, allocations: 63.34 kB / 0.5563 GB, free: 5.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.3599, allocations: 0 / 0.5563 GB, free: 5.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000325/0.3602, allocations: 141.2 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3603, allocations: 51.41 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3604, allocations: 186.3 kB / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3604, allocations: 29.7 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.3605, allocations: 88.14 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3605, allocations: 27.64 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3605, allocations: 0 / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3606, allocations: 322.8 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.3607, allocations: 20 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.3607, allocations: 37.64 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.3608, allocations: 16 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3608, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001344/0.3609, allocations: 97.48 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3609, allocations: 4 kB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3609, allocations: 0 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3609, allocations: 0 / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.361, allocations: 23.97 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3611, allocations: 0 / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.3611, allocations: 7.984 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3611, allocations: 160 / 0.5573 GB, free: 4.645 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 7.074e-05/0.3612, allocations: 108.4 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3612, allocations: 11.81 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3614, allocations: 115.1 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3614, allocations: 4 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3614, allocations: 4 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3615, allocations: 0 / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3618, allocations: 375.8 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3618, allocations: 0 / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.3619, allocations: 8 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3619, allocations: 0 / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3619, allocations: 7.906 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3619, allocations: 0 / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3619, allocations: 0 / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/0.3621, allocations: 209.9 kB / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.3622, allocations: 93 kB / 0.5582 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3622, allocations: 7.906 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.3623, allocations: 3.938 kB / 0.5582 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3623, allocations: 15.97 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3623, allocations: 4 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.896e-05/0.3624, allocations: 144.9 kB / 0.5584 GB, free: 3.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.3627, allocations: 27.94 kB / 0.5584 GB, free: 3.434 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.000604/0.3633, allocations: 348.1 kB / 0.5588 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3634, allocations: 59.92 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3634, allocations: 0 / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.3635, allocations: 28 kB / 0.5588 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3637, allocations: 23.83 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.3641, allocations: 168.5 kB / 0.559 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.3643, allocations: 0.7388 MB / 0.5597 GB, free: 2.059 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3643, allocations: 0 / 0.5597 GB, free: 2.059 MB / 394.7 MB Notification: Performance of Templates: time 0.003505/0.3679, allocations: 1.642 MB / 0.5614 GB, free: 436 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches