Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") [: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.001683/0.001684, allocations: 172.8 kB / 8.146 MB, free: 2.195 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.699/1.699, 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.001705/0.001705, allocations: 88.2 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.2616/0.2616, allocations: 43.5 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.107e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.303, allocations: 58.84 MB / 476.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.4607, allocations: 86.89 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.461, allocations: 71.95 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02453/0.4856, allocations: 5.283 MB / 0.5555 GB, free: 6.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4857, allocations: 3.938 kB / 0.5555 GB, free: 6.816 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.0006237/0.4863, allocations: 418 kB / 0.5559 GB, free: 6.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4864, allocations: 8.031 kB / 0.5559 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.4864, allocations: 19.81 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4869, allocations: 222.8 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4869, allocations: 0 / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.487, allocations: 7.906 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.4871, allocations: 19.98 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4872, allocations: 57.61 kB / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4872, allocations: 0 / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4873, allocations: 0 / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4873, allocations: 0 / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.4879, allocations: 289.3 kB / 0.5565 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.488, allocations: 50.69 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.4881, allocations: 16.98 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4881, allocations: 4 kB / 0.5565 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.4883, allocations: 63.34 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.4883, allocations: 0 / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005855/0.4889, allocations: 141 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4889, allocations: 59.34 kB / 0.5568 GB, free: 5.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.4893, allocations: 229.7 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.4894, allocations: 29.69 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.4895, allocations: 150.6 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.4895, allocations: 23.66 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.4895, allocations: 0 / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4897, allocations: 318.8 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.4898, allocations: 23.94 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.4898, allocations: 29.72 kB / 0.5576 GB, free: 4.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.4899, allocations: 23.98 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4899, allocations: 0 / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002394/0.4902, allocations: 85.58 kB / 0.5577 GB, free: 4.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4902, allocations: 7.281 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4902, allocations: 4.031 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4903, allocations: 0 / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.4905, allocations: 23.92 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4905, allocations: 0 / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.4905, allocations: 4 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4906, allocations: 0 / 0.5577 GB, free: 4.328 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.685e-05/0.4907, allocations: 36.38 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.4907, allocations: 19.72 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.4911, allocations: 107 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4911, allocations: 0 / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4911, allocations: 4 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4911, allocations: 3.984 kB / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.4918, allocations: 395.9 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4918, allocations: 0 / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/0.4919, allocations: 15.98 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.492, allocations: 0 / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.492, allocations: 4.031 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.492, allocations: 4.281 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.492, allocations: 0 / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003113/0.4923, allocations: 217.7 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4924, allocations: 96.91 kB / 0.5586 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.4925, allocations: 4.188 kB / 0.5586 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4926, allocations: 8 kB / 0.5586 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.4927, allocations: 15.92 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4927, allocations: 4 kB / 0.5586 GB, free: 3.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002939/0.493, allocations: 188.2 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.4934, allocations: 35.94 kB / 0.5588 GB, free: 3.09 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.001013/0.4944, allocations: 346.1 kB / 0.5591 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.4946, allocations: 51.94 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4947, allocations: 0 / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.4948, allocations: 28 kB / 0.5592 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4952, allocations: 31.81 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.0007519/0.496, allocations: 250.5 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.4965, allocations: 0.7422 MB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4965, allocations: 0 / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.006209/0.5027, allocations: 2.161 MB / 0.5623 GB, free: 15.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches