Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") [: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.00162/0.001619, allocations: 170.2 kB / 8.144 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.73/1.73, 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.001607/0.001606, allocations: 88.58 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.2705/0.2705, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.094e-05/1.109e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2884, allocations: 58.84 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.4501, allocations: 87.16 MB / 0.5505 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4504, allocations: 71.95 kB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03435/0.4848, allocations: 7.39 MB / 0.5578 GB, free: 4.453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.4848, allocations: 4 kB / 0.5578 GB, free: 4.449 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.0006874/0.4855, allocations: 418.1 kB / 0.5582 GB, free: 3.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4856, allocations: 8.031 kB / 0.5582 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.4857, allocations: 11.91 kB / 0.5582 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.4861, allocations: 206.9 kB / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4861, allocations: 4 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.4861, allocations: 0 / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/0.4863, allocations: 27.83 kB / 0.5584 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4864, allocations: 59.41 kB / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4865, allocations: 0 / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4865, allocations: 4 kB / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4865, allocations: 0 / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.487, allocations: 273.4 kB / 0.5588 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.4871, allocations: 46.64 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.4872, allocations: 20.97 kB / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4872, allocations: 3.984 kB / 0.5588 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.4874, allocations: 63.41 kB / 0.5589 GB, free: 3.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.4874, allocations: 0 / 0.5589 GB, free: 3.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.488, allocations: 129.3 kB / 0.559 GB, free: 3.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.488, allocations: 85.02 kB / 0.5591 GB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4883, allocations: 140.4 kB / 0.5592 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4883, allocations: 25.7 kB / 0.5592 GB, free: 2.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.4884, allocations: 150.6 kB / 0.5594 GB, free: 2.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.4884, allocations: 27.59 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.4885, allocations: 0 / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4886, allocations: 322.8 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.4887, allocations: 16 kB / 0.5597 GB, free: 2.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.4888, allocations: 38.58 kB / 0.5598 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.4889, allocations: 20.17 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4889, allocations: 0 / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002359/0.4891, allocations: 89.47 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4892, allocations: 12.06 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4892, allocations: 0 / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4892, allocations: 0 / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4894, allocations: 15.98 kB / 0.5599 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4894, allocations: 4 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.4895, allocations: 0 / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.4895, allocations: 8 kB / 0.5599 GB, free: 2.047 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.613e-05/0.4896, allocations: 39.03 kB / 0.56 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.4896, allocations: 11.81 kB / 0.56 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.49, allocations: 102.2 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.49, allocations: 4 kB / 0.5601 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.49, allocations: 0 / 0.5601 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.49, allocations: 0 / 0.5601 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.4906, allocations: 363.8 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4906, allocations: 4.188 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.4907, allocations: 12 kB / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4907, allocations: 4.031 kB / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4907, allocations: 4 kB / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4908, allocations: 0 / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4908, allocations: 0 / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002842/0.4911, allocations: 201.9 kB / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.4912, allocations: 89 kB / 0.5607 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.4912, allocations: 12 kB / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4914, allocations: 3.906 kB / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4914, allocations: 7.984 kB / 0.5607 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4915, allocations: 4 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001379/0.4916, allocations: 111.3 kB / 0.5608 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.492, allocations: 47.86 kB / 0.5609 GB, free: 0.9414 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.001102/0.4931, allocations: 398.8 kB / 0.5613 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4933, allocations: 51.98 kB / 0.5613 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4934, allocations: 4.062 kB / 0.5613 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.4935, allocations: 31.94 kB / 0.5614 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.4939, allocations: 27.83 kB / 0.5614 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.4944, allocations: 154.4 kB / 0.5615 GB, free: 288 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.4949, allocations: 0.727 MB / 0.5622 GB, free: 15.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4949, allocations: 4.062 kB / 0.5622 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Templates: time 0.005972/0.5009, allocations: 2.068 MB / 0.5643 GB, free: 13.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches