Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 78.2 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003118/0.1298, allocations: 1.815 MB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1315, allocations: 1.099 MB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.1316, allocations: 3.938 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.1321, allocations: 299.3 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.1325, allocations: 259.2 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1327, allocations: 107.6 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.133, allocations: 251.4 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.1331, allocations: 21.66 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1333, allocations: 135.5 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1335, allocations: 184 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1335, allocations: 8 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.1336, allocations: 47.97 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1337, allocations: 136.5 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1339, allocations: 138.8 kB / 485.9 MB, free: 20 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.1343, allocations: 378.6 kB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1343, allocations: 0 / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1343, allocations: 0 / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1343, allocations: 4 kB / 486.3 MB, free: 15.64 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.0009777/0.1353, allocations: 0.7346 MB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1353, allocations: 8.031 kB / 487.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.1354, allocations: 48.28 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1361, allocations: 451.8 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1361, allocations: 4.375 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1361, allocations: 8.125 kB / 487.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1363, allocations: 91.3 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1363, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1364, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1364, allocations: 8 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1365, allocations: 31.97 kB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.1369, allocations: 370.4 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.1371, allocations: 109.2 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1373, allocations: 41.64 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1373, allocations: 0 / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.1375, allocations: 113 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1375, allocations: 0 / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004983/0.138, allocations: 200.9 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.1381, allocations: 77.11 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1392, allocations: 1.022 MB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1392, allocations: 41.62 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1394, allocations: 228.1 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1394, allocations: 35.62 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1395, allocations: 29.7 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1396, allocations: 362.8 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.1397, allocations: 27.98 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.1398, allocations: 59.42 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.14, allocations: 91.34 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.14, allocations: 0 / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002764/0.1403, allocations: 169.3 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1403, allocations: 8 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1403, allocations: 4.188 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1404, allocations: 3.938 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1405, allocations: 27.98 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1405, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.1406, allocations: 15.89 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1406, allocations: 4 kB / 490.7 MB, free: 10.99 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.0002008/0.1408, allocations: 222.5 kB / 490.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1409, allocations: 51.42 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.141, allocations: 64.09 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.141, allocations: 0 / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.141, allocations: 4 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.141, allocations: 0 / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1413, allocations: 345.2 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1413, allocations: 4 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.1413, allocations: 4 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1413, allocations: 4 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1414, allocations: 0 / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1414, allocations: 3.984 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1414, allocations: 0 / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1417, allocations: 209.2 kB / 491.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.1419, allocations: 136.5 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.1419, allocations: 0 / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.142, allocations: 7.984 kB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.142, allocations: 8 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1421, allocations: 11.98 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.1428, allocations: 0.7681 MB / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1428, allocations: 0 / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1431, allocations: 40 kB / 492.5 MB, free: 9.027 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.001001/0.1441, allocations: 410 kB / 492.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1444, allocations: 79.89 kB / 493 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1444, allocations: 4.062 kB / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.1445, allocations: 43.92 kB / 493.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1449, allocations: 84.03 kB / 493.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1461, allocations: 0.8551 MB / 494 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.1466, allocations: 0.8503 MB / 494.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.1468, allocations: 63.44 kB / 494.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1468, allocations: 27.44 kB / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1468, allocations: 0 / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of Templates: time 0.007705/0.1546, allocations: 3.712 MB / 498.7 MB, free: 3.012 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches