Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 175.1 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.7 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3585/0.3585, allocations: 43.54 MB / 314.5 MB, free: 8.93 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 23.98 kB / 383.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 58.87 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00231/0.1143, allocations: 1.894 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.116, allocations: 1.077 MB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1162, allocations: 7.938 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1166, allocations: 251.3 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.117, allocations: 243.4 kB / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.1177, allocations: 295.4 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1181, allocations: 327.3 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1182, allocations: 61.03 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1184, allocations: 199.2 kB / 447.1 MB, free: 8.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1186, allocations: 207.2 kB / 447.3 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1187, allocations: 8 kB / 447.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.1188, allocations: 28 kB / 447.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.1189, allocations: 99.62 kB / 447.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.119, allocations: 85.45 kB / 447.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1192, allocations: 283.6 kB / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1193, allocations: 0 / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1193, allocations: 0 / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1193, allocations: 4 kB / 447.8 MB, free: 8.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009952/0.1203, allocations: 0.7009 MB / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1203, allocations: 8.031 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.1204, allocations: 51.34 kB / 448.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.1209, allocations: 383.1 kB / 448.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1209, allocations: 11.98 kB / 448.9 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.121, allocations: 15.94 kB / 449 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1213, allocations: 218.5 kB / 449.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1213, allocations: 4 kB / 449.2 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1214, allocations: 4 kB / 449.2 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1214, allocations: 11.95 kB / 449.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1216, allocations: 99.86 kB / 449.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.1224, allocations: 0.8449 MB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1229, allocations: 293.7 kB / 450.4 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1229, allocations: 12.11 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.1233, allocations: 219.5 kB / 450.6 MB, free: 5.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.1233, allocations: 0 / 450.6 MB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001751/0.1251, allocations: 0.9718 MB / 451.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1252, allocations: 162.2 kB / 451.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.1258, allocations: 0.6082 MB / 452.4 MB, free: 3.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1258, allocations: 41.69 kB / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.126, allocations: 221 kB / 452.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1261, allocations: 126.3 kB / 452.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.1261, allocations: 12 kB / 452.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1263, allocations: 378.7 kB / 453.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1265, allocations: 96.83 kB / 453.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1268, allocations: 180.9 kB / 453.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.127, allocations: 112 kB / 453.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.127, allocations: 0 / 453.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006531/0.1277, allocations: 401 kB / 453.9 MB, free: 1.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1277, allocations: 4 kB / 453.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1277, allocations: 4 kB / 453.9 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1278, allocations: 4 kB / 453.9 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.1281, allocations: 85.72 kB / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1281, allocations: 7.984 kB / 454 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1283, allocations: 24.16 kB / 454 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1283, allocations: 19.98 kB / 454.1 MB, free: 1.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002564/0.1286, allocations: 212.2 kB / 454.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.1286, allocations: 59.25 kB / 454.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1288, allocations: 67.84 kB / 454.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1288, allocations: 4 kB / 454.4 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.1288, allocations: 4 kB / 454.4 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1288, allocations: 3.938 kB / 454.4 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1994/0.3282, allocations: 1.252 MB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.3283, allocations: 3.125 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.3285, allocations: 48.95 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.3285, allocations: 6.047 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.3286, allocations: 18.08 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.3286, allocations: 3.906 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3286, allocations: 6.781 kB / 455.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3297, allocations: 0.9214 MB / 456.7 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3299, allocations: 135 kB / 456.8 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/0.33, allocations: 16.03 kB / 456.8 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.3304, allocations: 26.84 kB / 456.8 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3305, allocations: 37.19 kB / 456.9 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.3305, allocations: 25.2 kB / 456.9 MB, free: 45.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004821/0.331, allocations: 451 kB / 457.3 MB, free: 45.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.331, allocations: 0 / 457.3 MB, free: 45.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006428/0.3317, allocations: 81.47 kB / 457.4 MB, free: 45.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001237/0.3329, allocations: 491.4 kB / 457.9 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.3335, allocations: 285.6 kB / 458.2 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3335, allocations: 0 / 458.2 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.3338, allocations: 150 kB / 458.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.3346, allocations: 116.9 kB / 458.4 MB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3359, allocations: 0.948 MB / 459.4 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3362, allocations: 0.8584 MB / 460.2 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.3364, allocations: 91.62 kB / 460.3 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3366, allocations: 54.81 kB / 460.4 MB, free: 43.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3366, allocations: 0 / 460.4 MB, free: 43.84 MB / 382.1 MB Notification: Performance of Templates: time 0.008782/0.3454, allocations: 5.109 MB / 465.5 MB, free: 43.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches