Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [: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.00178/0.00178, allocations: 182.1 kB / 8.145 MB, free: 0.8594 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.624/1.624, 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.001692/0.001691, allocations: 89.8 kB / 261.8 MB, free: 5.129 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.2574/0.2574, allocations: 43.49 MB / 353.2 MB, free: 11.4 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.907e-06, allocations: 4 kB / 417.7 MB, free: 68.57 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09479, allocations: 58.85 MB / 476.6 MB, free: 9.668 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.4134, allocations: 86.89 MB / 0.5502 GB, free: 9.887 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4137, allocations: 70.53 kB / 0.5503 GB, free: 9.852 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.02336/0.4371, allocations: 5.232 MB / 0.5554 GB, free: 5.547 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.4371, allocations: 8 kB / 0.5554 GB, free: 5.539 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.0005661/0.4377, allocations: 408.8 kB / 0.5558 GB, free: 5.105 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4378, allocations: 8.031 kB / 0.5558 GB, free: 5.098 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.4378, allocations: 11.81 kB / 0.5558 GB, free: 5.086 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.4383, allocations: 235.3 kB / 0.5561 GB, free: 4.82 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4383, allocations: 0 / 0.5561 GB, free: 4.82 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4384, allocations: 0 / 0.5561 GB, free: 4.82 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.614e-05/0.4385, allocations: 23.73 kB / 0.5561 GB, free: 4.805 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4386, allocations: 49.61 kB / 0.5561 GB, free: 4.754 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4386, allocations: 3.906 kB / 0.5561 GB, free: 4.75 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4387, allocations: 0 / 0.5561 GB, free: 4.75 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4387, allocations: 4 kB / 0.5561 GB, free: 4.746 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.4391, allocations: 273.2 kB / 0.5564 GB, free: 4.465 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.4393, allocations: 54.41 kB / 0.5564 GB, free: 4.41 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.4394, allocations: 16.8 kB / 0.5565 GB, free: 4.395 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4394, allocations: 15.86 kB / 0.5565 GB, free: 4.383 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.4395, allocations: 51.28 kB / 0.5565 GB, free: 4.324 MB / 370.8 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.4395, allocations: 4 kB / 0.5565 GB, free: 4.32 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.4401, allocations: 139.6 kB / 0.5567 GB, free: 4.199 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4402, allocations: 55.39 kB / 0.5567 GB, free: 4.133 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.4405, allocations: 216 kB / 0.5569 GB, free: 3.949 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4405, allocations: 25.7 kB / 0.5569 GB, free: 3.918 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.4406, allocations: 150.6 kB / 0.5571 GB, free: 3.77 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.4407, allocations: 23.91 kB / 0.5571 GB, free: 3.75 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.4407, allocations: 4 kB / 0.5571 GB, free: 3.746 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4408, allocations: 322.7 kB / 0.5574 GB, free: 3.426 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.4409, allocations: 15.88 kB / 0.5574 GB, free: 3.414 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.441, allocations: 40.34 kB / 0.5575 GB, free: 3.379 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.4411, allocations: 19.05 kB / 0.5575 GB, free: 3.367 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4411, allocations: 0 / 0.5575 GB, free: 3.367 MB / 370.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002188/0.4413, allocations: 79.88 kB / 0.5576 GB, free: 3.293 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4413, allocations: 4 kB / 0.5576 GB, free: 3.289 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4414, allocations: 4 kB / 0.5576 GB, free: 3.285 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4414, allocations: 0 / 0.5576 GB, free: 3.285 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4416, allocations: 23.77 kB / 0.5576 GB, free: 3.266 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4416, allocations: 0 / 0.5576 GB, free: 3.266 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.4416, allocations: 4 kB / 0.5576 GB, free: 3.262 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4417, allocations: 8.094 kB / 0.5576 GB, free: 3.254 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 6.41e-05/0.4417, allocations: 33.62 kB / 0.5576 GB, free: 3.215 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.4418, allocations: 15.81 kB / 0.5577 GB, free: 3.199 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.4421, allocations: 108.5 kB / 0.5578 GB, free: 3.109 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4421, allocations: 4 kB / 0.5578 GB, free: 3.105 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4421, allocations: 4 kB / 0.5578 GB, free: 3.102 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4422, allocations: 3.984 kB / 0.5578 GB, free: 3.098 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.4428, allocations: 381.5 kB / 0.5581 GB, free: 2.719 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4428, allocations: 7.938 kB / 0.5581 GB, free: 2.711 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.4429, allocations: 8 kB / 0.5582 GB, free: 2.703 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4429, allocations: 0 / 0.5582 GB, free: 2.703 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4429, allocations: 3.984 kB / 0.5582 GB, free: 2.699 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4429, allocations: 4 kB / 0.5582 GB, free: 2.695 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.443, allocations: 4.031 kB / 0.5582 GB, free: 2.691 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002834/0.4432, allocations: 212.7 kB / 0.5584 GB, free: 2.473 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.4434, allocations: 96.73 kB / 0.5585 GB, free: 2.363 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.4434, allocations: 3.984 kB / 0.5585 GB, free: 2.359 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4436, allocations: 4 kB / 0.5585 GB, free: 2.355 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4436, allocations: 11.98 kB / 0.5585 GB, free: 2.344 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4436, allocations: 8.359 kB / 0.5585 GB, free: 2.336 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0002317/0.4439, allocations: 166.8 kB / 0.5586 GB, free: 2.203 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0003395/0.4442, allocations: 38.86 kB / 0.5587 GB, free: 2.168 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.0009563/0.4452, allocations: 354 kB / 0.559 GB, free: 1.883 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.4454, allocations: 46.95 kB / 0.5591 GB, free: 1.852 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4454, allocations: 0 / 0.5591 GB, free: 1.852 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.4455, allocations: 35.02 kB / 0.5591 GB, free: 1.824 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4459, allocations: 30.97 kB / 0.5591 GB, free: 1.797 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.4466, allocations: 232.8 kB / 0.5594 GB, free: 1.551 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.4471, allocations: 0.7382 MB / 0.5601 GB, free: 0.7891 MB / 370.8 MB Notification: Performance of SimCode: time 9.32e-07/0.4471, allocations: 0 / 0.5601 GB, free: 0.7891 MB / 370.8 MB Notification: Performance of Templates: time 0.005701/0.4528, allocations: 2.095 MB / 0.5621 GB, free: 14.7 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches