Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002259/0.002259, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00234/0.00234, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.287/2.287, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2596/0.2596, allocations: 46.1 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 75.09 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00342/0.138, allocations: 1.797 MB / 481.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1399, allocations: 1.025 MB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.14, allocations: 3.938 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.1404, allocations: 79.83 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.1409, allocations: 99.7 kB / 482.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1412, allocations: 75.8 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1414, allocations: 111.7 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1416, allocations: 15.98 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1417, allocations: 59.7 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1419, allocations: 63.75 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1419, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1421, allocations: 51.97 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.1422, allocations: 31.91 kB / 483.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.1422, allocations: 39.69 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1425, allocations: 112 kB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1425, allocations: 0 / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1425, allocations: 0 / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1425, allocations: 3.938 kB / 483.5 MB, free: 2.113 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.0006876/0.1432, allocations: 434.9 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1432, allocations: 8.875 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.1433, allocations: 12.84 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1436, allocations: 224.7 kB / 484.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1436, allocations: 4.375 kB / 484.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.1437, allocations: 12.12 kB / 484.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1438, allocations: 65.66 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1439, allocations: 3.938 kB / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1439, allocations: 0 / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1439, allocations: 4 kB / 484.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.144, allocations: 27.91 kB / 484.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1445, allocations: 304.7 kB / 484.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1448, allocations: 70.48 kB / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/0.1449, allocations: 16.98 kB / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1449, allocations: 0 / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1452, allocations: 75.31 kB / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.1452, allocations: 0 / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000924/0.1461, allocations: 241 kB / 485 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.1462, allocations: 55.34 kB / 485 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.1465, allocations: 239 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1465, allocations: 29.7 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.1466, allocations: 108.1 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.1467, allocations: 35.66 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.1468, allocations: 33.66 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1469, allocations: 326.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.147, allocations: 27.98 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.1471, allocations: 49.64 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1473, allocations: 81.75 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1473, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002549/0.1475, allocations: 133.4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1476, allocations: 4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1476, allocations: 4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1476, allocations: 0 / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.1477, allocations: 23.98 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1477, allocations: 7.938 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.1478, allocations: 0 / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1478, allocations: 4 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001411/0.148, allocations: 137.8 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.148, allocations: 19.81 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.1481, allocations: 21.41 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1481, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1481, allocations: 7.922 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1481, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.1487, allocations: 455.9 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1487, allocations: 64 / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1488, allocations: 20 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1488, allocations: 4.094 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1488, allocations: 3.938 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1488, allocations: 7.938 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.1489, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1492, allocations: 233 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1493, allocations: 88.92 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1493, allocations: 8 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.1494, allocations: 3.984 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.1494, allocations: 8 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1495, allocations: 11.98 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1496, allocations: 168.4 kB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1496, allocations: 0 / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.1499, allocations: 31.98 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001383/0.1513, allocations: 0.5141 MB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1516, allocations: 75.91 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1516, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1518, allocations: 43.86 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1522, allocations: 31.91 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.153, allocations: 356.1 kB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1534, allocations: 0.7199 MB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.1535, allocations: 19.44 kB / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1535, allocations: 0 / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Templates: time 0.00522/0.1587, allocations: 2.253 MB / 491.3 MB, free: 10.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches