Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") [: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.001652/0.001652, allocations: 170.3 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.68/1.68, 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.00129/0.00129, allocations: 92.88 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.3209/0.3209, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.788e-06/9.959e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4503, allocations: 86.73 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4507, allocations: 71.47 kB / 0.5501 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02455/0.4752, allocations: 5.125 MB / 0.5551 GB, free: 7.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.4753, allocations: 4 kB / 0.5551 GB, free: 7.152 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000576/0.4759, allocations: 410 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4759, allocations: 8.031 kB / 0.5555 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.476, allocations: 15.8 kB / 0.5556 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.4765, allocations: 234.7 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4765, allocations: 0 / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.4765, allocations: 0 / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.043e-05/0.4766, allocations: 19.98 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4768, allocations: 45.59 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4768, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.4768, allocations: 3.984 kB / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4769, allocations: 0 / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.4771, allocations: 170.2 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.4773, allocations: 50.56 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.4774, allocations: 16.86 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4774, allocations: 0 / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.4776, allocations: 67.39 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.4776, allocations: 0 / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002649/0.4779, allocations: 65.59 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4779, allocations: 59.34 kB / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.4783, allocations: 229.6 kB / 0.5565 GB, free: 5.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4784, allocations: 29.7 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.4784, allocations: 154.6 kB / 0.5567 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.4785, allocations: 7.891 kB / 0.5567 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.4785, allocations: 0 / 0.5567 GB, free: 5.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4786, allocations: 318.8 kB / 0.557 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.4787, allocations: 12 kB / 0.557 GB, free: 5.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.4788, allocations: 29.72 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.4788, allocations: 15.98 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4788, allocations: 3.906 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002274/0.4791, allocations: 65.62 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4791, allocations: 7.438 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4791, allocations: 0 / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4792, allocations: 3.938 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4793, allocations: 19.98 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4793, allocations: 4.031 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.4794, allocations: 3.906 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.4794, allocations: 4 kB / 0.5571 GB, free: 4.914 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 (7): * Single equations (assignments): 7 * 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.132e-05/0.4795, allocations: 31.81 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.4795, allocations: 11.81 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.4798, allocations: 82.7 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4798, allocations: 4 kB / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4798, allocations: 4.172 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4798, allocations: 4 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.4801, allocations: 194 kB / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4801, allocations: 0 / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.4801, allocations: 8 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4802, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4802, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4802, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4802, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002062/0.4804, allocations: 104.9 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4805, allocations: 104.9 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.4806, allocations: 3.984 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.4807, allocations: 4 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4807, allocations: 3.984 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.4807, allocations: 7.906 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002706/0.481, allocations: 192.2 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.4813, allocations: 20 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008883/0.4822, allocations: 320.1 kB / 0.5582 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.4824, allocations: 31.94 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4824, allocations: 4 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.4825, allocations: 23.98 kB / 0.5582 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.4828, allocations: 27.83 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.4835, allocations: 217.4 kB / 0.5585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.4839, allocations: 0.7423 MB / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.484, allocations: 0 / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of Templates: time 0.005415/0.4894, allocations: 1.926 MB / 0.5611 GB, free: 0.7578 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches