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.001665/0.001665, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 85.2 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 62.44 MB / 480.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00451/0.1394, allocations: 1.832 MB / 482.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1414, allocations: 1.103 MB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1415, allocations: 3.938 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.1421, allocations: 299.3 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.1427, allocations: 267.2 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1429, allocations: 107.6 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.1433, allocations: 255.4 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.1433, allocations: 9.688 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1435, allocations: 139.5 kB / 484.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1438, allocations: 195.5 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1438, allocations: 4 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.144, allocations: 47.98 kB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.1441, allocations: 135.5 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1443, allocations: 158.7 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.1448, allocations: 371 kB / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1448, allocations: 4 kB / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1448, allocations: 0 / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1448, allocations: 0 / 485.7 MB, free: 320 kB / 350.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.001081/0.1459, allocations: 0.7347 MB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1459, allocations: 11.97 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.146, allocations: 52.28 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.1466, allocations: 447.7 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1466, allocations: 12.38 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1467, allocations: 8.125 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1469, allocations: 83.36 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1469, allocations: 0 / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1469, allocations: 0 / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1469, allocations: 0 / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.147, allocations: 31.92 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1475, allocations: 386.4 kB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1478, allocations: 105.2 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.1479, allocations: 45.64 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.148, allocations: 7.938 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.1483, allocations: 109 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1483, allocations: 0 / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005156/0.1488, allocations: 197.3 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.1489, allocations: 81.11 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1502, allocations: 1.054 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.1502, allocations: 29.7 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1504, allocations: 236.1 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.1505, allocations: 27.66 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.1506, allocations: 25.7 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1508, allocations: 374.7 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1509, allocations: 28.11 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.151, allocations: 67.41 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1512, allocations: 83.36 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1512, allocations: 0 / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003401/0.1516, allocations: 176.9 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1516, allocations: 6.656 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1516, allocations: 4 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1517, allocations: 0 / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1518, allocations: 23.92 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1518, allocations: 4 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1519, allocations: 15.84 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1519, allocations: 4 kB / 490.1 MB, free: 11.61 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.0002485/0.1522, allocations: 229.7 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.1523, allocations: 55.34 kB / 490.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.189e-05/0.1524, allocations: 60.14 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1524, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1524, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1524, allocations: 7.969 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.1528, allocations: 349.4 kB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.1528, allocations: 4.125 kB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1528, allocations: 4 kB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1529, allocations: 4 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1529, allocations: 4 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1529, allocations: 4 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1529, allocations: 7.984 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1533, allocations: 201.1 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1534, allocations: 140.4 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1535, allocations: 4 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1535, allocations: 7.984 kB / 491.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.1536, allocations: 8 kB / 491.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1536, allocations: 11.98 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008935/0.1545, allocations: 0.7839 MB / 491.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1545, allocations: 0 / 491.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1548, allocations: 40 kB / 492 MB, free: 9.609 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.001594/0.1564, allocations: 415.2 kB / 492.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1567, allocations: 91.89 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1568, allocations: 4 kB / 492.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1569, allocations: 35.92 kB / 492.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1573, allocations: 69.58 kB / 492.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1587, allocations: 0.9309 MB / 493.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.1593, allocations: 0.8427 MB / 494.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.1594, allocations: 35.42 kB / 494.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1594, allocations: 0 / 494.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of Templates: time 0.009527/0.1689, allocations: 5.16 MB / 499.5 MB, free: 2.121 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 -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