Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") [: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.0008766/0.0008768, allocations: 190.9 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9887/0.9887, 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.0007754/0.0007752, allocations: 83.91 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.1544/0.1544, allocations: 43.49 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.462e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2227, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09981/0.3226, allocations: 86.89 MB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3229, allocations: 71.95 kB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01406/0.337, allocations: 5.315 MB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.337, allocations: 7.938 kB / 0.5555 GB, free: 6.734 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.0003857/0.3374, allocations: 425.9 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3375, allocations: 8.031 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.3375, allocations: 19.81 kB / 0.556 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3378, allocations: 231.6 kB / 0.5562 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3378, allocations: 0 / 0.5562 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3378, allocations: 4 kB / 0.5562 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.891e-05/0.3379, allocations: 19.92 kB / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.338, allocations: 53.67 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.338, allocations: 0 / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.338, allocations: 4 kB / 0.5563 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.338, allocations: 0 / 0.5563 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3384, allocations: 285.4 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.3385, allocations: 50.62 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.3385, allocations: 16.98 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3385, allocations: 4 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.734e-05/0.3386, allocations: 63.41 kB / 0.5567 GB, free: 5.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.3386, allocations: 3.984 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003539/0.339, allocations: 141 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.339, allocations: 59.28 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3392, allocations: 243 kB / 0.5571 GB, free: 4.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3393, allocations: 25.7 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.3393, allocations: 96.03 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3393, allocations: 15.81 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3393, allocations: 0 / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.3394, allocations: 342.7 kB / 0.5575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.3395, allocations: 12 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.3395, allocations: 29.72 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.3396, allocations: 23.98 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3396, allocations: 0 / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001343/0.3397, allocations: 101.5 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.3397, allocations: 4 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3397, allocations: 8.219 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3398, allocations: 0 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.3399, allocations: 23.92 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.3399, allocations: 0 / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3399, allocations: 4 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3399, allocations: 4 kB / 0.5577 GB, free: 4.25 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.428e-05/0.34, allocations: 112.8 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.34, allocations: 15.81 kB / 0.5579 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3402, allocations: 107.1 kB / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3402, allocations: 3.984 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3402, allocations: 0 / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3403, allocations: 0 / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.3406, allocations: 396 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3406, allocations: 4 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.3407, allocations: 12 kB / 0.5584 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3407, allocations: 3.938 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3407, allocations: 8.016 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3407, allocations: 4 kB / 0.5584 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3407, allocations: 3.906 kB / 0.5584 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001645/0.3409, allocations: 197.9 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.341, allocations: 104.8 kB / 0.5587 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.341, allocations: 4 kB / 0.5587 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3411, allocations: 7.984 kB / 0.5587 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.3412, allocations: 11.84 kB / 0.5587 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3412, allocations: 8 kB / 0.5587 GB, free: 3.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001492/0.3413, allocations: 201.5 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.3416, allocations: 31.94 kB / 0.5589 GB, free: 2.934 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.0006242/0.3422, allocations: 349.6 kB / 0.5593 GB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.3423, allocations: 51.92 kB / 0.5593 GB, free: 2.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3424, allocations: 0 / 0.5593 GB, free: 2.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.3424, allocations: 31.94 kB / 0.5593 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3426, allocations: 23.84 kB / 0.5594 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.343, allocations: 224.9 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.3433, allocations: 0.7465 MB / 0.5603 GB, free: 1.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3433, allocations: 0 / 0.5603 GB, free: 1.5 MB / 394.7 MB Notification: Performance of Templates: time 0.00376/0.3471, allocations: 1.783 MB / 0.562 GB, free: 15.73 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches