Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") [: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.001787/0.001787, allocations: 174.4 kB / 8.145 MB, free: 2.219 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.686/1.686, 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.001318/0.001318, allocations: 87.75 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.3166/0.3166, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.034e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 58.85 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.4575, allocations: 86.9 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4579, allocations: 71.95 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02582/0.4837, allocations: 5.287 MB / 0.5555 GB, free: 6.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.4838, allocations: 7.938 kB / 0.5555 GB, free: 6.812 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.0006027/0.4844, allocations: 414 kB / 0.5559 GB, free: 6.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4845, allocations: 12.03 kB / 0.5559 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.4845, allocations: 15.81 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.485, allocations: 218.8 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.485, allocations: 0 / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.4851, allocations: 3.906 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.4852, allocations: 19.98 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4854, allocations: 53.67 kB / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4854, allocations: 0 / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4854, allocations: 0 / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4854, allocations: 0 / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.486, allocations: 301.3 kB / 0.5565 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.4861, allocations: 46.69 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.4862, allocations: 20.98 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4862, allocations: 0 / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.4864, allocations: 67.34 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4864, allocations: 0 / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000612/0.487, allocations: 137.1 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4871, allocations: 55.34 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.4875, allocations: 229.7 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4875, allocations: 29.7 kB / 0.557 GB, free: 5.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.4876, allocations: 154.5 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.4876, allocations: 23.66 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4877, allocations: 0 / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4878, allocations: 318.8 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.4879, allocations: 19.98 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.488, allocations: 33.66 kB / 0.5576 GB, free: 4.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.4881, allocations: 19.98 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4881, allocations: 0 / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002372/0.4883, allocations: 85.58 kB / 0.5577 GB, free: 4.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4883, allocations: 8 kB / 0.5577 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4884, allocations: 4.031 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4884, allocations: 192 / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.4886, allocations: 23.92 kB / 0.5577 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4886, allocations: 7.938 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.4887, allocations: 0 / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4887, allocations: 4 kB / 0.5577 GB, free: 4.324 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 6.692e-05/0.4888, allocations: 31.09 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.4888, allocations: 19.72 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.4892, allocations: 115.1 kB / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4892, allocations: 0 / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4893, allocations: 0 / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4893, allocations: 0 / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.4899, allocations: 395.8 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.49, allocations: 0 / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.4901, allocations: 11.98 kB / 0.5583 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4901, allocations: 0 / 0.5583 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4901, allocations: 8.031 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4901, allocations: 0 / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4901, allocations: 0 / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002926/0.4904, allocations: 213.8 kB / 0.5585 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4905, allocations: 104.9 kB / 0.5586 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.4906, allocations: 0 / 0.5586 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4908, allocations: 8 kB / 0.5586 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4908, allocations: 7.922 kB / 0.5586 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4908, allocations: 4.188 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003118/0.4912, allocations: 192.2 kB / 0.5588 GB, free: 3.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.4915, allocations: 35.94 kB / 0.5588 GB, free: 3.098 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.001002/0.4926, allocations: 354.9 kB / 0.5591 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.4928, allocations: 47.94 kB / 0.5592 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4928, allocations: 0 / 0.5592 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.4929, allocations: 28 kB / 0.5592 GB, free: 2.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4934, allocations: 28.27 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.4942, allocations: 246.5 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.4946, allocations: 0.7461 MB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4947, allocations: 0 / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.006258/0.5009, allocations: 2.169 MB / 0.5623 GB, free: 15.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches