Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") [: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.0008218/0.0008218, allocations: 186.7 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.053/1.053, 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.0008233/0.0008234, allocations: 87.64 kB / 261.4 MB, free: 13.61 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.156/0.156, allocations: 43.49 MB / 352.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.725e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 58.85 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.34, allocations: 86.89 MB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.3402, allocations: 79.23 kB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01314/0.3534, allocations: 5.281 MB / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3534, allocations: 3.938 kB / 0.5555 GB, free: 6.773 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.0003261/0.3537, allocations: 410 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.3538, allocations: 8.031 kB / 0.5559 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3538, allocations: 15.81 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.3541, allocations: 230.8 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3541, allocations: 0 / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3541, allocations: 19.89 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.134e-05/0.3542, allocations: 12 kB / 0.5562 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.3543, allocations: 53.61 kB / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.3543, allocations: 0 / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-06/0.3543, allocations: 0 / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.3543, allocations: 4 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.3546, allocations: 285.3 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.3547, allocations: 54.69 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.3547, allocations: 16.98 kB / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.3547, allocations: 0 / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.425e-05/0.3548, allocations: 63.34 kB / 0.5566 GB, free: 5.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.3548, allocations: 0 / 0.5566 GB, free: 5.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003226/0.3552, allocations: 141.1 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3552, allocations: 55.41 kB / 0.5568 GB, free: 5.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3554, allocations: 237.6 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3554, allocations: 29.7 kB / 0.5571 GB, free: 4.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.3555, allocations: 92.12 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3555, allocations: 23.66 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.3555, allocations: 0 / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.3556, allocations: 322.8 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.3556, allocations: 27.92 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.3557, allocations: 33.72 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.3557, allocations: 24.17 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3557, allocations: 0 / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001344/0.3559, allocations: 97.5 kB / 0.5577 GB, free: 4.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/0.3559, allocations: 4 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3559, allocations: 0 / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3559, allocations: 7.844 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.356, allocations: 19.98 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.356, allocations: 0 / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.3561, allocations: 8.031 kB / 0.5577 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3561, allocations: 4 kB / 0.5577 GB, free: 4.309 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 5.351e-05/0.3562, allocations: 105 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3562, allocations: 15.81 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.3564, allocations: 103 kB / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3564, allocations: 4 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3564, allocations: 3.906 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3564, allocations: 0 / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3567, allocations: 395.9 kB / 0.5583 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3568, allocations: 3.906 kB / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.3568, allocations: 15.98 kB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3568, allocations: 0 / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3568, allocations: 192 / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3568, allocations: 8 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3568, allocations: 0 / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001668/0.357, allocations: 209.9 kB / 0.5585 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.3571, allocations: 100.9 kB / 0.5586 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3571, allocations: 7.906 kB / 0.5586 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.3572, allocations: 0 / 0.5586 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.3572, allocations: 7.984 kB / 0.5586 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.3572, allocations: 7.938 kB / 0.5586 GB, free: 3.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001378/0.3574, allocations: 192.2 kB / 0.5588 GB, free: 3.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.3576, allocations: 35.94 kB / 0.5589 GB, free: 3.012 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.0006004/0.3582, allocations: 354.3 kB / 0.5592 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3584, allocations: 51.94 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3584, allocations: 0 / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.3584, allocations: 31.98 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3586, allocations: 31.83 kB / 0.5593 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.359, allocations: 216.7 kB / 0.5595 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.3593, allocations: 0.7463 MB / 0.5602 GB, free: 1.566 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3593, allocations: 3.938 kB / 0.5602 GB, free: 1.562 MB / 394.7 MB Notification: Performance of Templates: time 0.003593/0.3629, allocations: 1.743 MB / 0.5619 GB, free: 15.83 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches