Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.11 MB / 343.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001462, allocations: 77.34 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 62.45 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003124/0.1302, allocations: 1.879 MB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1319, allocations: 1.096 MB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.132, allocations: 3.938 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.1325, allocations: 303.4 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004229/0.133, allocations: 235.4 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1332, allocations: 87.78 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.1335, allocations: 251.3 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1336, allocations: 9.688 kB / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1338, allocations: 119.6 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.134, allocations: 195.4 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.134, allocations: 4 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1342, allocations: 43.97 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1343, allocations: 135.6 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1345, allocations: 154.7 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1349, allocations: 359 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1349, allocations: 3.984 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1349, allocations: 0 / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1349, allocations: 0 / 484.1 MB, free: 0.8867 MB / 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.0009641/0.1359, allocations: 0.7346 MB / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1359, allocations: 12.88 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.136, allocations: 52.28 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.1366, allocations: 459.7 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1366, allocations: 4.375 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1366, allocations: 4.125 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1368, allocations: 91.34 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1368, allocations: 3.984 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1368, allocations: 0 / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1369, allocations: 3.938 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.137, allocations: 35.92 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1373, allocations: 378.4 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.1376, allocations: 105.2 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.1377, allocations: 45.64 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.1377, allocations: 4 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.138, allocations: 105 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.297e-06/0.138, allocations: 0 / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004663/0.1384, allocations: 209.3 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.1385, allocations: 81.05 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1396, allocations: 1.054 MB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1397, allocations: 29.7 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.1399, allocations: 244.1 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1399, allocations: 23.66 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.14, allocations: 29.7 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1401, allocations: 370.8 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.1402, allocations: 27.98 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1403, allocations: 55.41 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1405, allocations: 91.36 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1405, allocations: 0 / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002887/0.1408, allocations: 172.9 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1409, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1409, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1409, allocations: 4 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.141, allocations: 23.92 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.141, allocations: 4 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.1411, allocations: 15.84 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1411, allocations: 8.062 kB / 488.6 MB, free: 12.17 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.0002057/0.1413, allocations: 225.7 kB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1414, allocations: 51.34 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.1415, allocations: 56.14 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1415, allocations: 4 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1415, allocations: 4.188 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1415, allocations: 3.984 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1418, allocations: 345.4 kB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1418, allocations: 4 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1419, allocations: 11.94 kB / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1419, allocations: 0 / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1419, allocations: 8 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1419, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1419, allocations: 0 / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1423, allocations: 205.2 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1424, allocations: 144.4 kB / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1424, allocations: 4 kB / 489.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1425, allocations: 11.92 kB / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1426, allocations: 7.984 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1426, allocations: 7.984 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008209/0.1434, allocations: 0.7878 MB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1434, allocations: 0 / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1437, allocations: 44 kB / 490.5 MB, free: 10.17 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.001012/0.1447, allocations: 415 kB / 490.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.145, allocations: 79.89 kB / 491 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.145, allocations: 0 / 491 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1451, allocations: 39.98 kB / 491 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1456, allocations: 66.2 kB / 491.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1469, allocations: 0.97 MB / 492 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1473, allocations: 0.8508 MB / 492.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1475, allocations: 54.95 kB / 492.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.1476, allocations: 35.42 kB / 493 MB, free: 7.742 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1476, allocations: 0 / 493 MB, free: 7.742 MB / 366.1 MB Notification: Performance of Templates: time 0.007902/0.1555, allocations: 3.606 MB / 496.6 MB, free: 4.148 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches