Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [: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.001684/0.001689, allocations: 181.7 kB / 8.15 MB, free: 2.203 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.817/1.817, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001312/0.001312, allocations: 92 kB / 261.8 MB, free: 13.6 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.263/0.263, allocations: 43.49 MB / 353.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.42e-05, allocations: 4.219 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 58.84 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.4913, allocations: 86.89 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/0.4917, allocations: 71.97 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03438/0.5261, allocations: 4.98 MB / 0.5552 GB, free: 7.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.5262, allocations: 0 / 0.5552 GB, free: 7.117 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.0007452/0.527, allocations: 394.2 kB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.527, allocations: 11.97 kB / 0.5556 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.5271, allocations: 7.906 kB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.5277, allocations: 213.6 kB / 0.5558 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5277, allocations: 8 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.5277, allocations: 0 / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/0.5279, allocations: 23.92 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.5281, allocations: 45.69 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5281, allocations: 7.906 kB / 0.5558 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.5281, allocations: 3.984 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5282, allocations: 0 / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.5288, allocations: 261.5 kB / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.529, allocations: 62.52 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.5291, allocations: 24.98 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.5291, allocations: 0 / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5293, allocations: 63.34 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.5293, allocations: 0 / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008441/0.5302, allocations: 137.2 kB / 0.5564 GB, free: 5.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5303, allocations: 51.41 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.5306, allocations: 166.3 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.5307, allocations: 29.7 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.5308, allocations: 154.6 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.5308, allocations: 23.7 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5309, allocations: 0 / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.531, allocations: 318.8 kB / 0.5571 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.5311, allocations: 16 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.5312, allocations: 29.72 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.5313, allocations: 19.98 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5313, allocations: 7.906 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002461/0.5315, allocations: 85.62 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5316, allocations: 7.281 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5316, allocations: 0 / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5316, allocations: 4 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5318, allocations: 15.98 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5318, allocations: 0 / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.5319, allocations: 4 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5319, allocations: 0 / 0.5573 GB, free: 4.766 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 8.056e-05/0.532, allocations: 48.23 kB / 0.5573 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.5321, allocations: 8.094 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.5324, allocations: 102.1 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.5324, allocations: 7.906 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5324, allocations: 0 / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5325, allocations: 3.938 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.5331, allocations: 376 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5331, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.5332, allocations: 11.94 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5332, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5332, allocations: 4 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5332, allocations: 3.984 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5332, allocations: 0 / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002901/0.5335, allocations: 205.9 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.5337, allocations: 100.8 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.5337, allocations: 4 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5339, allocations: 4 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.5339, allocations: 7.984 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.534, allocations: 4 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001815/0.5341, allocations: 140.1 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.5345, allocations: 28 kB / 0.5583 GB, free: 3.629 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.001255/0.5358, allocations: 350.7 kB / 0.5586 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.5361, allocations: 55.94 kB / 0.5587 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5361, allocations: 0 / 0.5587 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5362, allocations: 32 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.5368, allocations: 23.97 kB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.5376, allocations: 182.2 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.5381, allocations: 0.7309 MB / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5382, allocations: 0 / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of Templates: time 0.008328/0.5465, allocations: 1.955 MB / 0.5615 GB, free: 292 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches