Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 81.8 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004158/0.1309, allocations: 1.919 MB / 482 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1333, allocations: 1.134 MB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1335, allocations: 4 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1341, allocations: 255.3 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.1347, allocations: 227.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.135, allocations: 115.6 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1354, allocations: 271.2 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1356, allocations: 29.67 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1357, allocations: 135.5 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.136, allocations: 187.4 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.136, allocations: 8 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1362, allocations: 67.97 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1363, allocations: 59.77 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1365, allocations: 99.22 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.1369, allocations: 251.3 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1369, allocations: 4 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1369, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.137, allocations: 0 / 484.9 MB, free: 420 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001088/0.138, allocations: 0.5835 MB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1381, allocations: 8.031 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.1382, allocations: 28.56 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1387, allocations: 298.4 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1387, allocations: 384 / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1387, allocations: 16.12 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.139, allocations: 114 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.139, allocations: 3.906 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1391, allocations: 0 / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1391, allocations: 4 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1392, allocations: 51.89 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.14, allocations: 484.8 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.1404, allocations: 129.2 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1405, allocations: 41.81 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1405, allocations: 8 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.1409, allocations: 117 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1409, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001502/0.1424, allocations: 0.5119 MB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.1425, allocations: 81.11 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.1432, allocations: 0.4899 MB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1433, allocations: 29.7 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1435, allocations: 168.4 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.1436, allocations: 74.98 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.1436, allocations: 45.7 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.1439, allocations: 350.8 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.144, allocations: 55.91 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1442, allocations: 91.39 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1445, allocations: 159.5 kB / 488.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1445, allocations: 4 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004232/0.1449, allocations: 233.1 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1449, allocations: 7.938 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.145, allocations: 4 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.145, allocations: 0 / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1451, allocations: 47.92 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1452, allocations: 0 / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.1453, allocations: 15.89 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1453, allocations: 12.06 kB / 489.1 MB, free: 11.91 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002423/0.1455, allocations: 173.8 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.1456, allocations: 35.56 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.811e-05/0.1457, allocations: 42.89 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1457, allocations: 0 / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1457, allocations: 4 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.1457, allocations: 3.984 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1468, allocations: 0.7389 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1468, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.1469, allocations: 27.98 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1469, allocations: 4 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.147, allocations: 8 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.147, allocations: 12.06 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.147, allocations: 3.984 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.1476, allocations: 428.8 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.1477, allocations: 100.7 kB / 490.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.1477, allocations: 15.92 kB / 490.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1479, allocations: 8 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.1479, allocations: 23.91 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.148, allocations: 16 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.1484, allocations: 367.1 kB / 491.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.709e-06/0.1484, allocations: 0 / 491.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1488, allocations: 63.92 kB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002007/0.1508, allocations: 0.4906 MB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.1513, allocations: 167.8 kB / 491.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1513, allocations: 0 / 491.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.1515, allocations: 84.34 kB / 491.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.1521, allocations: 73.61 kB / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1532, allocations: 0.6097 MB / 492.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1536, allocations: 0.7831 MB / 493.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1538, allocations: 37.94 kB / 493.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1539, allocations: 31.42 kB / 493.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1539, allocations: 0 / 493.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of Templates: time 0.007861/0.1617, allocations: 3.175 MB / 496.6 MB, free: 4.441 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches