Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [: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.001667/0.001667, allocations: 182.1 kB / 8.148 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.2 MB / 213.7 MB, free: 8.586 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 85.62 kB / 261.8 MB, free: 5.168 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2603/0.2603, allocations: 43.49 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.114e-05, allocations: 4 kB / 417.7 MB, free: 68.56 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.0985, allocations: 58.84 MB / 476.5 MB, free: 9.664 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.4759, allocations: 86.89 MB / 0.5502 GB, free: 9.867 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.4763, allocations: 71.53 kB / 0.5503 GB, free: 9.832 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.0349/0.5112, allocations: 5.149 MB / 0.5553 GB, free: 5.605 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.5113, allocations: 0 / 0.5553 GB, free: 5.605 MB / 370.8 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.000593/0.5119, allocations: 409.6 kB / 0.5557 GB, free: 5.172 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.512, allocations: 8.031 kB / 0.5557 GB, free: 5.164 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.512, allocations: 11.81 kB / 0.5557 GB, free: 5.152 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.5125, allocations: 230.4 kB / 0.556 GB, free: 4.895 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5125, allocations: 0 / 0.556 GB, free: 4.895 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.5126, allocations: 4 kB / 0.556 GB, free: 4.891 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.748e-05/0.5127, allocations: 23.69 kB / 0.556 GB, free: 4.875 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5128, allocations: 50.45 kB / 0.556 GB, free: 4.824 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5128, allocations: 0 / 0.556 GB, free: 4.824 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5129, allocations: 0 / 0.556 GB, free: 4.824 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5129, allocations: 0 / 0.556 GB, free: 4.824 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.5134, allocations: 280 kB / 0.5563 GB, free: 4.535 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.5135, allocations: 52.31 kB / 0.5563 GB, free: 4.484 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.5136, allocations: 15.8 kB / 0.5564 GB, free: 4.469 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.5136, allocations: 0 / 0.5564 GB, free: 4.469 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.5138, allocations: 61.09 kB / 0.5564 GB, free: 4.406 MB / 370.8 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.5138, allocations: 7.938 kB / 0.5564 GB, free: 4.398 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005964/0.5144, allocations: 139.6 kB / 0.5566 GB, free: 4.273 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5145, allocations: 51.41 kB / 0.5566 GB, free: 4.211 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.5148, allocations: 206.3 kB / 0.5568 GB, free: 4.031 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.5148, allocations: 29.69 kB / 0.5568 GB, free: 3.996 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.5149, allocations: 154.5 kB / 0.557 GB, free: 3.844 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.515, allocations: 22.91 kB / 0.557 GB, free: 3.824 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.515, allocations: 0 / 0.557 GB, free: 3.824 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5151, allocations: 321.6 kB / 0.5573 GB, free: 3.504 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.5152, allocations: 18.75 kB / 0.5573 GB, free: 3.492 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.5153, allocations: 29.47 kB / 0.5574 GB, free: 3.465 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.5154, allocations: 23.05 kB / 0.5574 GB, free: 3.449 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5154, allocations: 0 / 0.5574 GB, free: 3.449 MB / 370.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.5156, allocations: 82.75 kB / 0.5575 GB, free: 3.375 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5157, allocations: 4 kB / 0.5575 GB, free: 3.371 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5157, allocations: 0 / 0.5575 GB, free: 3.371 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5157, allocations: 7.938 kB / 0.5575 GB, free: 3.363 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.5159, allocations: 19.98 kB / 0.5575 GB, free: 3.344 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5159, allocations: 0 / 0.5575 GB, free: 3.344 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.516, allocations: 192 / 0.5575 GB, free: 3.344 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.516, allocations: 4 kB / 0.5575 GB, free: 3.34 MB / 370.8 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 8.36e-05/0.5161, allocations: 38.17 kB / 0.5575 GB, free: 3.301 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.5162, allocations: 15.81 kB / 0.5575 GB, free: 3.285 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.5165, allocations: 110 kB / 0.5576 GB, free: 3.191 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5166, allocations: 8 kB / 0.5577 GB, free: 3.184 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5166, allocations: 0 / 0.5577 GB, free: 3.184 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5166, allocations: 3.938 kB / 0.5577 GB, free: 3.18 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.5173, allocations: 380.9 kB / 0.558 GB, free: 2.797 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5174, allocations: 3.938 kB / 0.558 GB, free: 2.793 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.5175, allocations: 8 kB / 0.558 GB, free: 2.785 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5175, allocations: 0 / 0.558 GB, free: 2.785 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5175, allocations: 4.281 kB / 0.558 GB, free: 2.781 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.5175, allocations: 7.938 kB / 0.558 GB, free: 2.773 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5175, allocations: 0 / 0.558 GB, free: 2.773 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003185/0.5179, allocations: 208.7 kB / 0.5582 GB, free: 2.559 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.518, allocations: 100.3 kB / 0.5583 GB, free: 2.445 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.518, allocations: 0 / 0.5583 GB, free: 2.445 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.5182, allocations: 8 kB / 0.5583 GB, free: 2.438 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.5183, allocations: 11.48 kB / 0.5584 GB, free: 2.43 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5183, allocations: 4 kB / 0.5584 GB, free: 2.426 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0002376/0.5185, allocations: 156.5 kB / 0.5585 GB, free: 2.297 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0003685/0.5189, allocations: 35.55 kB / 0.5585 GB, free: 2.266 MB / 370.8 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.001024/0.52, allocations: 350.7 kB / 0.5589 GB, free: 1.988 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.5202, allocations: 51.36 kB / 0.5589 GB, free: 1.953 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5202, allocations: 0 / 0.5589 GB, free: 1.953 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.5204, allocations: 34.67 kB / 0.559 GB, free: 1.926 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.5208, allocations: 23.73 kB / 0.559 GB, free: 1.902 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.5215, allocations: 223.9 kB / 0.5592 GB, free: 1.668 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.522, allocations: 0.7308 MB / 0.5599 GB, free: 0.9141 MB / 370.8 MB Notification: Performance of SimCode: time 9.71e-07/0.522, allocations: 0 / 0.5599 GB, free: 0.9141 MB / 370.8 MB Notification: Performance of Templates: time 0.007153/0.5292, allocations: 2.043 MB / 0.5619 GB, free: 14.88 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches