Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") [: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.002325/0.002325, allocations: 169.8 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.678/1.678, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.00128/0.00128, allocations: 95.17 kB / 261.8 MB, free: 13.61 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.2593/0.2593, allocations: 43.47 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.092e-05, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.4563, allocations: 86.88 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4566, allocations: 79.17 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02686/0.4835, allocations: 5.414 MB / 0.5556 GB, free: 6.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.4835, allocations: 7.938 kB / 0.5556 GB, free: 6.695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006749/0.4842, allocations: 402 kB / 0.556 GB, free: 6.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4843, allocations: 8.031 kB / 0.556 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.4844, allocations: 11.81 kB / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4849, allocations: 224.9 kB / 0.5562 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4849, allocations: 8 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.485, allocations: 3.906 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002201/0.4852, allocations: 47.97 kB / 0.5563 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4854, allocations: 57.67 kB / 0.5563 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4854, allocations: 3.984 kB / 0.5563 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4854, allocations: 4 kB / 0.5563 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4854, allocations: 0 / 0.5563 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.486, allocations: 293.3 kB / 0.5566 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4862, allocations: 74.62 kB / 0.5567 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.4864, allocations: 33.08 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4864, allocations: 3.984 kB / 0.5567 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4865, allocations: 75.39 kB / 0.5568 GB, free: 5.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.565e-06/0.4866, allocations: 0 / 0.5568 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007594/0.4873, allocations: 185 kB / 0.557 GB, free: 5.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4874, allocations: 59.41 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.4877, allocations: 170.4 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4877, allocations: 25.7 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.4878, allocations: 150.8 kB / 0.5574 GB, free: 4.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.4879, allocations: 35.55 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.4879, allocations: 0 / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4881, allocations: 318.8 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.4882, allocations: 24 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4883, allocations: 57.58 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.4884, allocations: 36.02 kB / 0.5578 GB, free: 4.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4884, allocations: 0 / 0.5578 GB, free: 4.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003304/0.4888, allocations: 117.5 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4888, allocations: 8 kB / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4888, allocations: 0 / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4889, allocations: 0 / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4891, allocations: 27.97 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4891, allocations: 4.031 kB / 0.558 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.4892, allocations: 4 kB / 0.558 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.4892, allocations: 4 kB / 0.558 GB, free: 4.051 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 (12): * Single equations (assignments): 12 * 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.895e-05/0.4893, allocations: 29.64 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.4894, allocations: 19.8 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.4899, allocations: 149.5 kB / 0.5581 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4899, allocations: 0 / 0.5581 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4899, allocations: 11.91 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4899, allocations: 0 / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.4907, allocations: 423.9 kB / 0.5586 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4908, allocations: 0 / 0.5586 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.4909, allocations: 19.98 kB / 0.5586 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4909, allocations: 0 / 0.5586 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4909, allocations: 8 kB / 0.5586 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.491, allocations: 0 / 0.5586 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.491, allocations: 0 / 0.5586 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004065/0.4914, allocations: 245.9 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.4915, allocations: 92.91 kB / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.4916, allocations: 4 kB / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4917, allocations: 0 / 0.5589 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4918, allocations: 15.98 kB / 0.5589 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.4918, allocations: 8 kB / 0.5589 GB, free: 2.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002006/0.492, allocations: 144.8 kB / 0.5591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.4924, allocations: 24 kB / 0.5591 GB, free: 2.781 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 (13): * Single equations (assignments): 11 * 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.001062/0.4935, allocations: 374.7 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.4938, allocations: 75.98 kB / 0.5595 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4939, allocations: 0 / 0.5595 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.494, allocations: 47.88 kB / 0.5596 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4945, allocations: 23.84 kB / 0.5596 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.4951, allocations: 213.5 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.4956, allocations: 0.7388 MB / 0.5605 GB, free: 1.301 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4957, allocations: 0 / 0.5605 GB, free: 1.301 MB / 394.7 MB Notification: Performance of Templates: time 0.006383/0.502, allocations: 2.165 MB / 0.5626 GB, free: 15.14 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches