Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [: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.001055/0.001055, allocations: 184.8 kB / 7.802 MB, free: 2.445 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.066/1.066, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007591/0.0007591, allocations: 96.41 kB / 261.4 MB, free: 13.54 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.1525/0.1525, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.015e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3354, allocations: 86.76 MB / 0.5501 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.3356, allocations: 71.97 kB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01491/0.3505, allocations: 6.075 MB / 0.5561 GB, free: 6.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.3506, allocations: 4 kB / 0.5561 GB, free: 6.125 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.0006066/0.3512, allocations: 0.5986 MB / 0.5567 GB, free: 5.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3512, allocations: 12.03 kB / 0.5567 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.3513, allocations: 47.34 kB / 0.5568 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.3521, allocations: 475.1 kB / 0.5572 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3521, allocations: 4 kB / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3521, allocations: 0 / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.2e-05/0.3522, allocations: 31.98 kB / 0.5573 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3523, allocations: 83.25 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3524, allocations: 3.906 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3524, allocations: 8 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3524, allocations: 0 / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.3528, allocations: 362.9 kB / 0.5577 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3529, allocations: 89.3 kB / 0.5578 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.353, allocations: 37.8 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.353, allocations: 4 kB / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.3532, allocations: 101 kB / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.3532, allocations: 0 / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002786/0.3534, allocations: 141 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3535, allocations: 85.02 kB / 0.5581 GB, free: 3.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3547, allocations: 0.9005 MB / 0.559 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3547, allocations: 29.7 kB / 0.559 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3548, allocations: 136.1 kB / 0.5592 GB, free: 2.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3548, allocations: 19.72 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.3548, allocations: 8 kB / 0.5592 GB, free: 2.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.355, allocations: 366.8 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.3551, allocations: 31.92 kB / 0.5596 GB, free: 2.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.3551, allocations: 47.94 kB / 0.5596 GB, free: 2.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.3552, allocations: 31.92 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3552, allocations: 4 kB / 0.5597 GB, free: 2.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002529/0.3555, allocations: 156.9 kB / 0.5598 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3555, allocations: 8 kB / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3555, allocations: 0 / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3555, allocations: 0 / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3556, allocations: 24.23 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3557, allocations: 0 / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3558, allocations: 15.84 kB / 0.5598 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3558, allocations: 4.062 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001119/0.3559, allocations: 125.6 kB / 0.56 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.356, allocations: 55.33 kB / 0.56 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.3563, allocations: 173.6 kB / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3563, allocations: 0 / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3563, allocations: 3.984 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3563, allocations: 0 / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.3566, allocations: 357.8 kB / 0.5605 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3567, allocations: 0 / 0.5605 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.3567, allocations: 19.91 kB / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3567, allocations: 0 / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3567, allocations: 4 kB / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3568, allocations: 0 / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3568, allocations: 0 / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002612/0.357, allocations: 198.9 kB / 0.5607 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.3573, allocations: 200.3 kB / 0.5609 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.3573, allocations: 4 kB / 0.5609 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3575, allocations: 7.984 kB / 0.561 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3575, allocations: 7.984 kB / 0.561 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3575, allocations: 4 kB / 0.561 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007601/0.3583, allocations: 0.7213 MB / 0.5617 GB, free: 104 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.3586, allocations: 72 kB / 0.5617 GB, free: 32 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006747/0.3593, allocations: 318.4 kB / 0.562 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3594, allocations: 79.86 kB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3594, allocations: 0 / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.3595, allocations: 35.94 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3599, allocations: 73.83 kB / 0.5622 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3611, allocations: 0.7641 MB / 0.563 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.3617, allocations: 0.8967 MB / 0.5638 GB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3617, allocations: 0 / 0.5638 GB, free: 13.84 MB / 410.7 MB Notification: Performance of Templates: time 0.007496/0.3692, allocations: 3.619 MB / 0.5674 GB, free: 10.23 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches