Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001602, allocations: 170.9 kB / 8.145 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 91.25 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2984/0.2984, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.104e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2866, allocations: 58.85 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4471, allocations: 86.85 MB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.4475, allocations: 75.95 kB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02337/0.4709, allocations: 4.879 MB / 0.555 GB, free: 7.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4709, allocations: 0 / 0.555 GB, free: 7.254 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.0006086/0.4716, allocations: 394.2 kB / 0.5554 GB, free: 6.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4716, allocations: 8.031 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.4717, allocations: 7.906 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.4721, allocations: 217.5 kB / 0.5556 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.4722, allocations: 12 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4722, allocations: 0 / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.4723, allocations: 19.98 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4724, allocations: 45.69 kB / 0.5557 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4725, allocations: 7.906 kB / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4725, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4725, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.473, allocations: 265.5 kB / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.4732, allocations: 54.55 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.4732, allocations: 28.97 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.4733, allocations: 0 / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4734, allocations: 59.41 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.4735, allocations: 3.938 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006206/0.4741, allocations: 137.1 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.4741, allocations: 51.41 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.4744, allocations: 166.2 kB / 0.5564 GB, free: 5.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4745, allocations: 29.7 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.4745, allocations: 158.5 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.4746, allocations: 19.72 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4746, allocations: 0 / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4748, allocations: 310.8 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.4748, allocations: 23.98 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.4749, allocations: 29.72 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.215e-05/0.475, allocations: 19.98 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.475, allocations: 7.906 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.4753, allocations: 85.62 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4753, allocations: 4 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4753, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4753, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.4755, allocations: 19.98 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4755, allocations: 0 / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.4756, allocations: 7.938 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4756, allocations: 0 / 0.5571 GB, free: 4.902 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.802e-05/0.4757, allocations: 40.31 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4758, allocations: 7.906 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.4761, allocations: 110.2 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4761, allocations: 3.906 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4761, allocations: 4 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4761, allocations: 0 / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.4768, allocations: 371.8 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4768, allocations: 4.031 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.4769, allocations: 8.188 kB / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.4769, allocations: 3.984 kB / 0.5577 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.4769, allocations: 8 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4769, allocations: 0 / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4769, allocations: 0 / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002928/0.4772, allocations: 214.1 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.4773, allocations: 96.84 kB / 0.558 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.4774, allocations: 7.938 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4775, allocations: 4 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4776, allocations: 7.984 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4776, allocations: 4 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001808/0.4778, allocations: 140.1 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.4782, allocations: 28 kB / 0.5581 GB, free: 3.762 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.0009917/0.4792, allocations: 342.6 kB / 0.5585 GB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4794, allocations: 60.05 kB / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4794, allocations: 0 / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.4795, allocations: 32.16 kB / 0.5586 GB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4799, allocations: 32.06 kB / 0.5586 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.4805, allocations: 186.2 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.481, allocations: 0.7309 MB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.481, allocations: 0 / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of Templates: time 0.005653/0.4867, allocations: 1.943 MB / 0.5614 GB, free: 432 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches