Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002422, allocations: 170.2 kB / 8.145 MB, free: 2.211 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.703/1.703, allocations: 205.2 MB / 213.7 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.001272/0.001272, allocations: 86.75 kB / 261.8 MB, free: 13.62 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.3292/0.3292, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/9.989e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.413, allocations: 86.88 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4134, allocations: 79.45 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02375/0.4371, allocations: 5.035 MB / 0.5552 GB, free: 7.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.4372, allocations: 3.938 kB / 0.5552 GB, free: 7.074 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.0005995/0.4378, allocations: 406 kB / 0.5556 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4379, allocations: 15.97 kB / 0.5556 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.4379, allocations: 15.81 kB / 0.5556 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.4384, allocations: 213 kB / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4384, allocations: 0 / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.4384, allocations: 4 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.818e-05/0.4385, allocations: 16 kB / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4387, allocations: 53.58 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4387, allocations: 3.938 kB / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4387, allocations: 0 / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4387, allocations: 0 / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.4392, allocations: 269.4 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4394, allocations: 50.69 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.4394, allocations: 28.97 kB / 0.5563 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4395, allocations: 3.984 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.4396, allocations: 67.34 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.4396, allocations: 0 / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005489/0.4402, allocations: 129.3 kB / 0.5564 GB, free: 5.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4402, allocations: 51.41 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.4405, allocations: 190.3 kB / 0.5567 GB, free: 5.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4406, allocations: 25.7 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.4406, allocations: 154.6 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.4407, allocations: 19.66 kB / 0.5569 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4407, allocations: 0 / 0.5569 GB, free: 5.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4409, allocations: 322.8 kB / 0.5572 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.4409, allocations: 23.94 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.441, allocations: 29.72 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.4411, allocations: 19.98 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4411, allocations: 0 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002255/0.4414, allocations: 81.69 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4414, allocations: 4 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4414, allocations: 7.938 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4414, allocations: 0 / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.4416, allocations: 23.92 kB / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4416, allocations: 0 / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.4417, allocations: 0 / 0.5574 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4417, allocations: 4 kB / 0.5574 GB, free: 4.672 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.018e-05/0.4418, allocations: 29.7 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.4418, allocations: 15.98 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.4422, allocations: 115.1 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4422, allocations: 0 / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4422, allocations: 0 / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4422, allocations: 4 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.4428, allocations: 371.8 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4428, allocations: 0 / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.4429, allocations: 12 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.4429, allocations: 3.984 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.443, allocations: 32 / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.443, allocations: 8 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.443, allocations: 0 / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000286/0.4433, allocations: 205.8 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.4434, allocations: 93.02 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.4434, allocations: 3.984 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.4436, allocations: 8 kB / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4436, allocations: 8.094 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.4437, allocations: 15.92 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001842/0.4439, allocations: 136.9 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.4442, allocations: 35.92 kB / 0.5584 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.0009804/0.4452, allocations: 350.3 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.4454, allocations: 59.92 kB / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4454, allocations: 0 / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.4455, allocations: 27.98 kB / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.4459, allocations: 19.98 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.4466, allocations: 198.3 kB / 0.559 GB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.447, allocations: 0.7309 MB / 0.5597 GB, free: 2.129 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.447, allocations: 0 / 0.5597 GB, free: 2.129 MB / 394.7 MB Notification: Performance of Templates: time 0.005425/0.4524, allocations: 1.984 MB / 0.5617 GB, free: 152 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches