Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 76.72 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1195, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003887/0.1234, allocations: 1.821 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1258, allocations: 1.095 MB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1261, allocations: 4 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.1266, allocations: 295.3 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.1272, allocations: 259.2 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1276, allocations: 111.6 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1279, allocations: 251.4 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.128, allocations: 9.688 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1282, allocations: 135.5 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1285, allocations: 188 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1285, allocations: 8 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.1287, allocations: 51.92 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1289, allocations: 132.5 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.129, allocations: 150.8 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.1295, allocations: 359 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1296, allocations: 0 / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1296, allocations: 0 / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1296, allocations: 4 kB / 484.9 MB, free: 436 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.001048/0.1307, allocations: 0.7268 MB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.1307, allocations: 12.02 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1309, allocations: 52.28 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.1314, allocations: 451.8 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1315, allocations: 8.359 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1315, allocations: 8.125 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1317, allocations: 83.31 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1317, allocations: 0 / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1317, allocations: 7.984 kB / 486.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1317, allocations: 0 / 486.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1319, allocations: 31.92 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1323, allocations: 374.4 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1326, allocations: 105.2 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.1327, allocations: 45.64 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1327, allocations: 7.984 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.133, allocations: 101 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.133, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004997/0.1335, allocations: 196.9 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1336, allocations: 89.11 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1347, allocations: 1.022 MB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1348, allocations: 25.7 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1349, allocations: 240 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.135, allocations: 27.64 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.1351, allocations: 25.72 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1353, allocations: 370.8 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1354, allocations: 31.98 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1355, allocations: 58.97 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1357, allocations: 83.42 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1357, allocations: 0 / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003433/0.1361, allocations: 189.4 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1361, allocations: 4 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1361, allocations: 0 / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1361, allocations: 4 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1362, allocations: 19.98 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1363, allocations: 0 / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1364, allocations: 11.91 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1364, allocations: 8 kB / 489.2 MB, free: 11.78 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.0002357/0.1366, allocations: 225.7 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1367, allocations: 47.44 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1368, allocations: 56.09 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1368, allocations: 4 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1368, allocations: 0 / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1369, allocations: 3.984 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.1372, allocations: 353.2 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1372, allocations: 0 / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1373, allocations: 15.97 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1374, allocations: 3.938 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1374, allocations: 4 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1374, allocations: 4 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1374, allocations: 3.938 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.1377, allocations: 201.2 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1379, allocations: 128.5 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1379, allocations: 7.984 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.138, allocations: 11.94 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1381, allocations: 7.984 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1381, allocations: 8 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008256/0.1389, allocations: 0.7643 MB / 491.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1389, allocations: 3.938 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1392, allocations: 48 kB / 491.1 MB, free: 9.797 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.0009262/0.1402, allocations: 396 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1404, allocations: 87.89 kB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1404, allocations: 0 / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1406, allocations: 43.92 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.141, allocations: 81.12 kB / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1423, allocations: 0.867 MB / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1428, allocations: 0.8503 MB / 493.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.1429, allocations: 66.94 kB / 493.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.143, allocations: 27.38 kB / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.143, allocations: 0 / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of Templates: time 0.008243/0.1513, allocations: 3.712 MB / 497.2 MB, free: 3.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches