Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001448, allocations: 104 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 188.8 kB / 17.2 MB, free: 5.574 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.794/1.794, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2266/0.2266, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001629/0.001629, allocations: 74.53 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1264, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002708/0.1292, allocations: 1.784 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1303, allocations: 0.8646 MB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.1304, allocations: 3.938 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.1309, allocations: 303.3 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1312, allocations: 207.3 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1315, allocations: 147.3 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1317, allocations: 235.4 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1318, allocations: 13.56 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1319, allocations: 123.6 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.132, allocations: 191.9 kB / 444.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1321, allocations: 4 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.1322, allocations: 47.98 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.1323, allocations: 128.6 kB / 444.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1324, allocations: 150.8 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1326, allocations: 355 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1327, allocations: 0 / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1327, allocations: 0 / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1327, allocations: 4 kB / 445.1 MB, free: 2.348 MB / 318.1 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.0006889/0.1334, allocations: 0.7152 MB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1334, allocations: 11.89 kB / 445.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.1335, allocations: 44.38 kB / 445.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.1339, allocations: 447.7 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1339, allocations: 384 / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1339, allocations: 12.06 kB / 446.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1341, allocations: 87.36 kB / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1341, allocations: 0 / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1342, allocations: 0 / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1342, allocations: 4 kB / 446.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.1343, allocations: 35.91 kB / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.1345, allocations: 370.4 kB / 446.8 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1348, allocations: 109.2 kB / 446.9 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.1348, allocations: 41.64 kB / 446.9 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1349, allocations: 0 / 446.9 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1351, allocations: 113 kB / 447 MB, free: 192 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1351, allocations: 0 / 447 MB, free: 192 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004137/0.1355, allocations: 193.1 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1356, allocations: 85.05 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1366, allocations: 1.01 MB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1366, allocations: 25.7 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.1369, allocations: 232.1 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.1369, allocations: 31.64 kB / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.137, allocations: 29.7 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1372, allocations: 362.8 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.1373, allocations: 27.98 kB / 449 MB, free: 14.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1374, allocations: 59.42 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1376, allocations: 95.34 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1376, allocations: 0 / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003162/0.138, allocations: 161.5 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.138, allocations: 7.984 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.138, allocations: 4.062 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.138, allocations: 4 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1382, allocations: 20 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1382, allocations: 11.98 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.1383, allocations: 11.91 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1383, allocations: 4 kB / 449.4 MB, free: 13.75 MB / 334.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.1386, allocations: 225.6 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.1386, allocations: 51.34 kB / 449.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.1387, allocations: 55.84 kB / 449.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1388, allocations: 8 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1388, allocations: 3.938 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1388, allocations: 0 / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1391, allocations: 337.3 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1392, allocations: 3.938 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1392, allocations: 11.98 kB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1392, allocations: 0 / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1392, allocations: 8 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1392, allocations: 0 / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1392, allocations: 0 / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1396, allocations: 209.2 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1397, allocations: 132.5 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.1398, allocations: 11.98 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1399, allocations: 0 / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.1399, allocations: 11.98 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.14, allocations: 4 kB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008025/0.1408, allocations: 0.7526 MB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1408, allocations: 0 / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1411, allocations: 40 kB / 451.2 MB, free: 11.8 MB / 334.1 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009617/0.1421, allocations: 427.8 kB / 451.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1423, allocations: 91.78 kB / 451.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1423, allocations: 0 / 451.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1424, allocations: 40.05 kB / 451.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1429, allocations: 68.23 kB / 451.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1441, allocations: 0.8513 MB / 452.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.1446, allocations: 0.8388 MB / 453.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1447, allocations: 59.45 kB / 453.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.1448, allocations: 27.42 kB / 453.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1448, allocations: 4 kB / 453.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of Templates: time 0.008863/0.1537, allocations: 3.661 MB / 457.3 MB, free: 5.785 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches