Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [: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.001579/0.001579, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.843/1.843, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.00174/0.00174, allocations: 87.3 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.2615/0.2615, allocations: 43.5 MB / 353.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.081e-05, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 58.85 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.4958, allocations: 86.89 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4961, allocations: 67.97 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02356/0.5197, allocations: 4.988 MB / 0.5552 GB, free: 7.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.5197, allocations: 4 kB / 0.5552 GB, free: 7.117 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.0005844/0.5203, allocations: 386.2 kB / 0.5556 GB, free: 6.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5204, allocations: 15.97 kB / 0.5556 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.5205, allocations: 15.89 kB / 0.5556 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.5209, allocations: 209.6 kB / 0.5558 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5209, allocations: 4 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.521, allocations: 4 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.5211, allocations: 15.98 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5212, allocations: 53.66 kB / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5213, allocations: 3.906 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5213, allocations: 8 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5213, allocations: 0 / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5218, allocations: 265.5 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.522, allocations: 54.59 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.115e-05/0.522, allocations: 16.98 kB / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.5221, allocations: 4 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.5222, allocations: 63.39 kB / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.158e-06/0.5222, allocations: 0 / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.5228, allocations: 141.1 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5229, allocations: 55.41 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.5231, allocations: 162.2 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5232, allocations: 25.7 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.5233, allocations: 162.6 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.5233, allocations: 19.7 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.5233, allocations: 0 / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5235, allocations: 314.8 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.5235, allocations: 20 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.5236, allocations: 37.64 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.5237, allocations: 12 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5237, allocations: 3.906 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.5239, allocations: 89.67 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.524, allocations: 10.81 kB / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.524, allocations: 0 / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.524, allocations: 0 / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5242, allocations: 15.94 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5242, allocations: 4 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.5243, allocations: 3.984 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5243, allocations: 4 kB / 0.5573 GB, free: 4.762 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.056e-05/0.5244, allocations: 35.05 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.5245, allocations: 11.91 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.5248, allocations: 106.1 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5248, allocations: 3.906 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5249, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5249, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.5255, allocations: 367.8 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5255, allocations: 4.219 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5256, allocations: 19.98 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5256, allocations: 0 / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5256, allocations: 0 / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.5257, allocations: 4.234 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5257, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002791/0.526, allocations: 210.1 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.5261, allocations: 100.9 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.5261, allocations: 3.984 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5263, allocations: 11.94 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5263, allocations: 4 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.5263, allocations: 3.984 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001756/0.5265, allocations: 140.1 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.5269, allocations: 31.98 kB / 0.5583 GB, free: 3.625 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.0009793/0.5279, allocations: 346.5 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5281, allocations: 48 kB / 0.5587 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5281, allocations: 3.938 kB / 0.5587 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/0.5282, allocations: 31.98 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.5286, allocations: 28.05 kB / 0.5587 GB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.5293, allocations: 194.1 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.5297, allocations: 0.727 MB / 0.5596 GB, free: 2.227 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5297, allocations: 0 / 0.5596 GB, free: 2.227 MB / 394.7 MB Notification: Performance of Templates: time 0.00542/0.5351, allocations: 1.939 MB / 0.5615 GB, free: 296 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches