Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") [: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.001736/0.001735, allocations: 171.9 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.684/1.684, 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.001258/0.001258, allocations: 93.17 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.3051/0.3051, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.09e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.356, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.5658, allocations: 86.98 MB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/0.5662, allocations: 75.95 kB / 0.5504 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04406/0.6103, allocations: 7.029 MB / 0.5573 GB, free: 5.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.11e-05/0.6104, allocations: 8 kB / 0.5573 GB, free: 5.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001024/0.6114, allocations: 465.9 kB / 0.5577 GB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6115, allocations: 8.031 kB / 0.5577 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.6116, allocations: 15.81 kB / 0.5577 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.6123, allocations: 238.7 kB / 0.558 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.6124, allocations: 4 kB / 0.558 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6124, allocations: 0 / 0.558 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001789/0.6126, allocations: 35.92 kB / 0.558 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.6129, allocations: 97 kB / 0.5581 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6129, allocations: 0 / 0.5581 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.613, allocations: 4 kB / 0.5581 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.613, allocations: 0 / 0.5581 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.6134, allocations: 195.1 kB / 0.5583 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6137, allocations: 97.22 kB / 0.5584 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.6139, allocations: 33.72 kB / 0.5584 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.6139, allocations: 4 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.6142, allocations: 105 kB / 0.5585 GB, free: 3.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.6142, allocations: 4 kB / 0.5585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005033/0.6147, allocations: 101.5 kB / 0.5586 GB, free: 3.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6149, allocations: 136.5 kB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.6153, allocations: 187 kB / 0.5589 GB, free: 3.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.6154, allocations: 33.7 kB / 0.5589 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.6155, allocations: 150.6 kB / 0.5591 GB, free: 2.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.6156, allocations: 27.64 kB / 0.5591 GB, free: 2.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.6156, allocations: 7.938 kB / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6158, allocations: 314.8 kB / 0.5594 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.6159, allocations: 31.98 kB / 0.5595 GB, free: 2.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6161, allocations: 61.16 kB / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.6162, allocations: 32 kB / 0.5595 GB, free: 2.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6163, allocations: 7.938 kB / 0.5596 GB, free: 2.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004305/0.6167, allocations: 105.6 kB / 0.5597 GB, free: 2.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6167, allocations: 4 kB / 0.5597 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6168, allocations: 4 kB / 0.5597 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.6168, allocations: 3.906 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.6171, allocations: 27.92 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.6171, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.6173, allocations: 8.062 kB / 0.5597 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6173, allocations: 4 kB / 0.5597 GB, free: 2.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 0.0001156/0.6175, allocations: 31.11 kB / 0.5597 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6176, allocations: 31.69 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.6181, allocations: 130.9 kB / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.6182, allocations: 0 / 0.5599 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6182, allocations: 3.984 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6182, allocations: 4 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.6186, allocations: 202 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6186, allocations: 0 / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6187, allocations: 19.92 kB / 0.5601 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.6187, allocations: 4 kB / 0.5601 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.6188, allocations: 0 / 0.5601 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6188, allocations: 3.938 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6188, allocations: 0 / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004643/0.6193, allocations: 163.4 kB / 0.5603 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.6194, allocations: 100.9 kB / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.6195, allocations: 0 / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.6197, allocations: 11.98 kB / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.6198, allocations: 11.89 kB / 0.5604 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.6199, allocations: 4 kB / 0.5604 GB, free: 1.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003485/0.6202, allocations: 157.5 kB / 0.5605 GB, free: 1.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005677/0.6208, allocations: 43.94 kB / 0.5606 GB, free: 1.246 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001436/0.6223, allocations: 365.8 kB / 0.5609 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.6226, allocations: 75.92 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6227, allocations: 128 / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.6228, allocations: 43.94 kB / 0.561 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.6235, allocations: 51.09 kB / 0.5611 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.6244, allocations: 209.9 kB / 0.5613 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/0.6251, allocations: 0.7549 MB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.492e-06/0.6252, allocations: 0 / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of Templates: time 0.009808/0.635, allocations: 2.737 MB / 0.5647 GB, free: 13 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches