Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003268/0.1222, allocations: 1.824 MB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.124, allocations: 1.103 MB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.1241, allocations: 0 / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1246, allocations: 307.3 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.1251, allocations: 259.2 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1253, allocations: 103.6 kB / 485.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1256, allocations: 275.2 kB / 485.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.1257, allocations: 9.688 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1259, allocations: 127.6 kB / 485.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1261, allocations: 195.4 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1261, allocations: 4 kB / 485.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1262, allocations: 47.97 kB / 485.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1264, allocations: 135.6 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1265, allocations: 154.9 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.1269, allocations: 378.5 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1269, allocations: 0 / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.127, allocations: 4 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.127, allocations: 3.938 kB / 486.4 MB, free: 15.61 MB / 366.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.0009901/0.128, allocations: 0.7307 MB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.128, allocations: 8.031 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.1281, allocations: 52.28 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.1288, allocations: 459.8 kB / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1288, allocations: 384 / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1288, allocations: 12.06 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.129, allocations: 83.38 kB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.129, allocations: 3.984 kB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1291, allocations: 4 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1291, allocations: 4 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1292, allocations: 27.98 kB / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1296, allocations: 382.3 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1299, allocations: 109.2 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.13, allocations: 45.58 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.13, allocations: 0 / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1302, allocations: 109 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1302, allocations: 0 / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000456/0.1307, allocations: 200.9 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1308, allocations: 85.11 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1318, allocations: 1.05 MB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1318, allocations: 33.69 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.132, allocations: 236.1 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.132, allocations: 31.64 kB / 490 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1321, allocations: 29.7 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1322, allocations: 366.8 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.1323, allocations: 23.98 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.1324, allocations: 67.34 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1326, allocations: 87.36 kB / 490.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1326, allocations: 0 / 490.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.1329, allocations: 165.4 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1329, allocations: 16.05 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1329, allocations: 128 / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.133, allocations: 4 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1331, allocations: 20 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1331, allocations: 7.922 kB / 490.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1332, allocations: 19.84 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1332, allocations: 4 kB / 490.8 MB, free: 10.9 MB / 366.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.000216/0.1334, allocations: 222.6 kB / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.1335, allocations: 55.34 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.1336, allocations: 60.14 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1336, allocations: 3.984 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1336, allocations: 4 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1337, allocations: 0 / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.134, allocations: 341.4 kB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.134, allocations: 0 / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1341, allocations: 15.98 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1341, allocations: 0 / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1341, allocations: 4 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1341, allocations: 7.875 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1341, allocations: 7.938 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1344, allocations: 205.2 kB / 491.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.1346, allocations: 140.4 kB / 491.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1346, allocations: 4 kB / 491.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.1347, allocations: 4 kB / 491.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1348, allocations: 11.98 kB / 491.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1348, allocations: 8 kB / 491.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008248/0.1356, allocations: 0.78 MB / 492.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1356, allocations: 0 / 492.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.1361, allocations: 51.98 kB / 492.7 MB, free: 8.895 MB / 366.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.001438/0.1375, allocations: 410.5 kB / 493.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.1379, allocations: 79.91 kB / 493.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1379, allocations: 4.125 kB / 493.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1381, allocations: 43.91 kB / 493.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.1387, allocations: 75.67 kB / 493.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1402, allocations: 0.8745 MB / 494.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.1406, allocations: 0.8427 MB / 495 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1408, allocations: 67.38 kB / 495.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.1408, allocations: 39.36 kB / 495.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1409, allocations: 0 / 495.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of Templates: time 0.00797/0.1488, allocations: 3.758 MB / 498.9 MB, free: 2.812 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches