Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008959/0.000896, allocations: 189.3 kB / 7.803 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000796/0.0007961, allocations: 94.91 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1563/0.1563, allocations: 43.49 MB / 352.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.755e-06, allocations: 4.219 kB / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09946/0.3228, allocations: 86.86 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.323, allocations: 67.97 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01301/0.3361, allocations: 4.887 MB / 0.5551 GB, free: 7.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3361, allocations: 4 kB / 0.5551 GB, free: 7.188 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.0003714/0.3365, allocations: 390.1 kB / 0.5554 GB, free: 6.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3365, allocations: 16.03 kB / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3366, allocations: 7.906 kB / 0.5555 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3369, allocations: 217.6 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3369, allocations: 3.984 kB / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3369, allocations: 4 kB / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.092e-05/0.337, allocations: 19.92 kB / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.3371, allocations: 57.67 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3371, allocations: 3.906 kB / 0.5557 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3371, allocations: 4 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3371, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.3375, allocations: 261.5 kB / 0.556 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3376, allocations: 58.53 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.3377, allocations: 16.98 kB / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.3377, allocations: 3.938 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.258e-05/0.3378, allocations: 67.39 kB / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3378, allocations: 0 / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003558/0.3382, allocations: 141.1 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3382, allocations: 55.41 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3383, allocations: 162.3 kB / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3384, allocations: 29.7 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.3384, allocations: 88.12 kB / 0.5566 GB, free: 5.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.3384, allocations: 15.72 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.3385, allocations: 4 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3386, allocations: 326.8 kB / 0.5569 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.3386, allocations: 16 kB / 0.5569 GB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.3387, allocations: 33.7 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.3387, allocations: 20 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3387, allocations: 3.906 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001394/0.3389, allocations: 93.52 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3389, allocations: 12.03 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3389, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.3389, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.339, allocations: 15.98 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.339, allocations: 4 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.3391, allocations: 3.906 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3391, allocations: 4 kB / 0.5571 GB, free: 4.867 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.506e-05/0.3391, allocations: 112.5 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.3392, allocations: 7.906 kB / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.3394, allocations: 114.2 kB / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3394, allocations: 0 / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3394, allocations: 0 / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3394, allocations: 0 / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3397, allocations: 367.8 kB / 0.5577 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3397, allocations: 4 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.3398, allocations: 15.92 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3398, allocations: 4.031 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3398, allocations: 4 kB / 0.5577 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3398, allocations: 4.188 kB / 0.5577 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3398, allocations: 0 / 0.5577 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/0.34, allocations: 209.8 kB / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3401, allocations: 96.91 kB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3401, allocations: 4 kB / 0.558 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.3402, allocations: 4 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.3402, allocations: 11.98 kB / 0.558 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3403, allocations: 0 / 0.558 GB, free: 3.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001158/0.3404, allocations: 140.1 kB / 0.5582 GB, free: 3.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.3406, allocations: 31.92 kB / 0.5582 GB, free: 3.66 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.0006731/0.3413, allocations: 341.5 kB / 0.5585 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.3414, allocations: 55.92 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.3415, allocations: 0 / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.3415, allocations: 31.94 kB / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3418, allocations: 28.14 kB / 0.5586 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.3421, allocations: 164.6 kB / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.3424, allocations: 0.727 MB / 0.5595 GB, free: 2.297 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3424, allocations: 0 / 0.5595 GB, free: 2.297 MB / 394.7 MB Notification: Performance of Templates: time 0.003557/0.346, allocations: 1.632 MB / 0.5611 GB, free: 0.6758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches