Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") [: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.002282/0.002282, allocations: 170.3 kB / 8.147 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.695/1.695, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001257/0.001256, allocations: 93.5 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.2925/0.2925, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.096e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2808, allocations: 58.85 MB / 476.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.4616, allocations: 87.87 MB / 0.5512 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4619, allocations: 79.89 kB / 0.5513 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01872/0.4807, allocations: 3.873 MB / 0.5551 GB, free: 7.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.4807, allocations: 4 kB / 0.5551 GB, free: 7.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007846/0.4815, allocations: 467.8 kB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4816, allocations: 8.031 kB / 0.5555 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.4817, allocations: 15.81 kB / 0.5555 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.4822, allocations: 230.7 kB / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.4822, allocations: 4 kB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.4822, allocations: 7.906 kB / 0.5558 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001654/0.4824, allocations: 32 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.4827, allocations: 92.23 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4827, allocations: 3.938 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4827, allocations: 0 / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4827, allocations: 4 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4839, allocations: 497.5 kB / 0.5564 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.4843, allocations: 78.61 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.4844, allocations: 32.86 kB / 0.5565 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4844, allocations: 4 kB / 0.5565 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4846, allocations: 71.39 kB / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.4846, allocations: 0 / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003586/0.485, allocations: 93.42 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4851, allocations: 51.41 kB / 0.5567 GB, free: 5.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4853, allocations: 162.7 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4854, allocations: 33.7 kB / 0.5569 GB, free: 5.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4855, allocations: 166.4 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4856, allocations: 23.66 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.4856, allocations: 0 / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4857, allocations: 318.8 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.4858, allocations: 23.94 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4859, allocations: 54.55 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.4861, allocations: 35.95 kB / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4861, allocations: 0 / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002933/0.4864, allocations: 109.5 kB / 0.5576 GB, free: 4.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4864, allocations: 7.438 kB / 0.5576 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4864, allocations: 4 kB / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4864, allocations: 128 / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4867, allocations: 27.98 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4867, allocations: 4 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4868, allocations: 15.83 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4869, allocations: 4 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 8.355e-05/0.4869, allocations: 37.77 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.487, allocations: 11.81 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.4874, allocations: 107 kB / 0.5578 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4874, allocations: 4 kB / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4874, allocations: 0 / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4874, allocations: 0 / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4877, allocations: 190.2 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4877, allocations: 4 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.4879, allocations: 19.98 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4879, allocations: 0 / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4879, allocations: 0 / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.488, allocations: 7.906 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.488, allocations: 0 / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003992/0.4884, allocations: 161 kB / 0.5581 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.4885, allocations: 96.92 kB / 0.5582 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.4885, allocations: 0 / 0.5582 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4887, allocations: 7.984 kB / 0.5582 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4887, allocations: 12.05 kB / 0.5582 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4888, allocations: 4 kB / 0.5583 GB, free: 3.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001823/0.489, allocations: 132.1 kB / 0.5584 GB, free: 3.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.4893, allocations: 32.05 kB / 0.5584 GB, free: 3.488 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009275/0.4902, allocations: 324.1 kB / 0.5587 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.4905, allocations: 76.05 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4905, allocations: 4.062 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4906, allocations: 31.94 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4911, allocations: 36.06 kB / 0.5589 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.4918, allocations: 201.5 kB / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.4923, allocations: 0.7391 MB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4923, allocations: 0 / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of Templates: time 0.006199/0.4985, allocations: 2.175 MB / 0.5619 GB, free: 15.89 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches