Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [: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.001617/0.001617, allocations: 172.5 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.725/1.725, 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.001714/0.001713, allocations: 88.81 kB / 261.8 MB, free: 13.64 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.2544/0.2544, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.089e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.4569, allocations: 87.16 MB / 0.5505 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4572, allocations: 79.45 kB / 0.5506 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03418/0.4914, allocations: 7.396 MB / 0.5578 GB, free: 4.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4915, allocations: 0 / 0.5578 GB, free: 4.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006879/0.4922, allocations: 418.1 kB / 0.5582 GB, free: 4.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4922, allocations: 12.03 kB / 0.5582 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.4923, allocations: 11.91 kB / 0.5582 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.4927, allocations: 210.9 kB / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4928, allocations: 0 / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.4928, allocations: 4 kB / 0.5584 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.438e-05/0.4929, allocations: 19.84 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4931, allocations: 67.39 kB / 0.5585 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4931, allocations: 0 / 0.5585 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4931, allocations: 0 / 0.5585 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4931, allocations: 0 / 0.5585 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.4936, allocations: 261.4 kB / 0.5588 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4937, allocations: 58.62 kB / 0.5588 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.4938, allocations: 16.98 kB / 0.5588 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4939, allocations: 3.984 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.494, allocations: 63.41 kB / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.494, allocations: 0 / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005605/0.4946, allocations: 125.3 kB / 0.559 GB, free: 3.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4947, allocations: 81.02 kB / 0.5591 GB, free: 2.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4949, allocations: 136.4 kB / 0.5592 GB, free: 2.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4949, allocations: 29.7 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.495, allocations: 158.5 kB / 0.5594 GB, free: 2.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4951, allocations: 19.66 kB / 0.5594 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.4951, allocations: 3.938 kB / 0.5594 GB, free: 2.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4952, allocations: 318.8 kB / 0.5597 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.4953, allocations: 23.98 kB / 0.5597 GB, free: 2.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.4954, allocations: 38.52 kB / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.4955, allocations: 19.98 kB / 0.5598 GB, free: 2.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4955, allocations: 0 / 0.5598 GB, free: 2.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000235/0.4957, allocations: 93.52 kB / 0.5599 GB, free: 2.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4958, allocations: 8.062 kB / 0.5599 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4958, allocations: 0 / 0.5599 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4958, allocations: 0 / 0.5599 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.496, allocations: 19.98 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.496, allocations: 160 / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.4961, allocations: 4 kB / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4961, allocations: 0 / 0.5599 GB, free: 2.078 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 (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 7.581e-05/0.4962, allocations: 35.05 kB / 0.56 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.4962, allocations: 11.81 kB / 0.56 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.4966, allocations: 114.1 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4966, allocations: 0 / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4966, allocations: 0 / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4966, allocations: 0 / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.4973, allocations: 359.8 kB / 0.5604 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4973, allocations: 192 / 0.5604 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.4974, allocations: 15.98 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4974, allocations: 4 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4974, allocations: 4.031 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4974, allocations: 0 / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4974, allocations: 0 / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002907/0.4977, allocations: 205.9 kB / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.4979, allocations: 96.98 kB / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4979, allocations: 0 / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.4981, allocations: 11.91 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4981, allocations: 7.984 kB / 0.5607 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4981, allocations: 4 kB / 0.5608 GB, free: 1.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001358/0.4983, allocations: 115.6 kB / 0.5609 GB, free: 1.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.4987, allocations: 43.88 kB / 0.5609 GB, free: 0.9648 MB / 394.7 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.001177/0.4999, allocations: 394.9 kB / 0.5613 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5001, allocations: 48 kB / 0.5613 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5001, allocations: 4 kB / 0.5613 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.5002, allocations: 31.98 kB / 0.5614 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.5007, allocations: 19.98 kB / 0.5614 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.5012, allocations: 162.4 kB / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.5016, allocations: 0.7192 MB / 0.5622 GB, free: 15.57 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5016, allocations: 4.062 kB / 0.5622 GB, free: 15.57 MB / 410.7 MB Notification: Performance of Templates: time 0.006121/0.5078, allocations: 2.083 MB / 0.5643 GB, free: 13.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches