Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 80.41 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1318, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003155/0.135, allocations: 1.976 MB / 481.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1367, allocations: 1.115 MB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.1368, allocations: 4 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.1372, allocations: 151.6 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.1375, allocations: 163.5 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1378, allocations: 99.78 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.138, allocations: 243.3 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1382, allocations: 29.66 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1383, allocations: 111.5 kB / 483.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1385, allocations: 143.5 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1385, allocations: 8 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1386, allocations: 59.98 kB / 483.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.1387, allocations: 59.75 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.1388, allocations: 83.36 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1391, allocations: 223.5 kB / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1391, allocations: 0 / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1391, allocations: 0 / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1391, allocations: 0 / 483.9 MB, free: 1.152 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007372/0.1398, allocations: 0.537 MB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1399, allocations: 12.03 kB / 484.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.14, allocations: 24.66 kB / 484.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1403, allocations: 275.5 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1403, allocations: 4.375 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.1403, allocations: 12.12 kB / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1406, allocations: 115.2 kB / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1406, allocations: 4 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1406, allocations: 0 / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1406, allocations: 4 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1408, allocations: 47.95 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.1413, allocations: 464.6 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.1417, allocations: 137.1 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.1418, allocations: 41.77 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1419, allocations: 4.156 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.1422, allocations: 125 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1422, allocations: 0 / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001288/0.1435, allocations: 496.8 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1435, allocations: 81.11 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.1439, allocations: 379.3 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1439, allocations: 29.7 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.144, allocations: 148.5 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.1441, allocations: 63.11 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.1441, allocations: 49.64 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1443, allocations: 338.8 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1444, allocations: 55.97 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1446, allocations: 95.39 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.1448, allocations: 155.5 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1448, allocations: 0 / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004168/0.1452, allocations: 241.1 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1453, allocations: 10.59 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1453, allocations: 4 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1453, allocations: 0 / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1454, allocations: 39.98 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1455, allocations: 3.938 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.1456, allocations: 15.92 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1456, allocations: 8 kB / 487.9 MB, free: 12.92 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.0001551/0.1457, allocations: 154.3 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.1458, allocations: 39.59 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.1459, allocations: 33.83 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1459, allocations: 4 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1459, allocations: 3.984 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1459, allocations: 3.938 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.1468, allocations: 0.731 MB / 488.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1468, allocations: 0 / 488.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.1469, allocations: 31.92 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1469, allocations: 8 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1469, allocations: 8 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1469, allocations: 7.984 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1469, allocations: 0 / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.1474, allocations: 417.8 kB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.1475, allocations: 100.8 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1475, allocations: 8 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1477, allocations: 12 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.1478, allocations: 19.91 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.1478, allocations: 16 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.1481, allocations: 273.9 kB / 489.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 3.938 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.1484, allocations: 43.98 kB / 489.8 MB, free: 10.9 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.001193/0.1496, allocations: 0.5036 MB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.15, allocations: 172 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.15, allocations: 0 / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1502, allocations: 75.86 kB / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1508, allocations: 77.53 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.1517, allocations: 0.5713 MB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.152, allocations: 0.7636 MB / 491.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1521, allocations: 41.92 kB / 492 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.1522, allocations: 31.42 kB / 492 MB, free: 8.789 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1522, allocations: 0 / 492 MB, free: 8.789 MB / 366.1 MB Notification: Performance of Templates: time 0.00668/0.1589, allocations: 3.08 MB / 495.1 MB, free: 5.742 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches