Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") [: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.001631/0.001631, allocations: 171.5 kB / 8.146 MB, free: 2.211 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.661/1.661, 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.001759/0.001759, allocations: 91.67 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.287/0.287, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.401e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3021, allocations: 58.85 MB / 476.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.4578, allocations: 86.73 MB / 0.5501 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4582, allocations: 79.45 kB / 0.5502 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02356/0.4818, allocations: 5.125 MB / 0.5552 GB, free: 7.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.4818, allocations: 0 / 0.5552 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.000624/0.4825, allocations: 414 kB / 0.5556 GB, free: 6.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4825, allocations: 11.97 kB / 0.5556 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.4826, allocations: 15.81 kB / 0.5556 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.483, allocations: 226.7 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4831, allocations: 4 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.4831, allocations: 0 / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.085e-05/0.4832, allocations: 15.98 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.4833, allocations: 45.59 kB / 0.5559 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4834, allocations: 0 / 0.5559 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.4834, allocations: 4 kB / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4834, allocations: 4 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.4837, allocations: 170.2 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4838, allocations: 54.56 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.4839, allocations: 16.86 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4839, allocations: 0 / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.484, allocations: 67.39 kB / 0.5562 GB, free: 5.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.4841, allocations: 0 / 0.5562 GB, free: 5.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002447/0.4843, allocations: 69.59 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4844, allocations: 55.34 kB / 0.5563 GB, free: 5.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.4848, allocations: 229.6 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4848, allocations: 25.7 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4849, allocations: 150.6 kB / 0.5567 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.4849, allocations: 11.91 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.485, allocations: 0 / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4851, allocations: 318.8 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.4852, allocations: 12 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/0.4853, allocations: 29.72 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.4854, allocations: 15.98 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.4854, allocations: 3.906 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001784/0.4856, allocations: 65.62 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4856, allocations: 4 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4856, allocations: 4 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4856, allocations: 0 / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4858, allocations: 15.98 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4858, allocations: 7.969 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.4859, allocations: 7.906 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.4859, allocations: 7.984 kB / 0.5572 GB, free: 4.902 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 5.458e-05/0.486, allocations: 25.7 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.486, allocations: 15.81 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.4863, allocations: 82.7 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4863, allocations: 0 / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4863, allocations: 0 / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4863, allocations: 7.984 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.4865, allocations: 190 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4866, allocations: 0 / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.4866, allocations: 4.188 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4866, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4866, allocations: 4 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4867, allocations: 4 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4867, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002068/0.4869, allocations: 104.9 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.487, allocations: 96.92 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4871, allocations: 7.938 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.4871, allocations: 3.984 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.4872, allocations: 4 kB / 0.5577 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4872, allocations: 3.906 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000288/0.4875, allocations: 192.2 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.4878, allocations: 23.98 kB / 0.5579 GB, free: 4.062 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.0009295/0.4888, allocations: 327.1 kB / 0.5582 GB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.4889, allocations: 35.94 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.489, allocations: 0 / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.4891, allocations: 20 kB / 0.5583 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4894, allocations: 27.83 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.4901, allocations: 221.5 kB / 0.5585 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.4906, allocations: 0.7383 MB / 0.5592 GB, free: 2.676 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4906, allocations: 0 / 0.5592 GB, free: 2.676 MB / 394.7 MB Notification: Performance of Templates: time 0.005891/0.4965, allocations: 1.934 MB / 0.5611 GB, free: 0.7422 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches