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.00114/0.00114, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.8 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.18 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002625, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1298, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002297/0.1322, allocations: 1.633 MB / 484.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1341, allocations: 1.087 MB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.1342, allocations: 11.88 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.1347, allocations: 151.7 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.1351, allocations: 163.5 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1353, allocations: 95.78 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1357, allocations: 235.3 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1358, allocations: 25.67 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.136, allocations: 99.55 kB / 486.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1361, allocations: 127.5 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1362, allocations: 4 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1363, allocations: 63.91 kB / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1364, allocations: 47.83 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.239e-05/0.1365, allocations: 109 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1368, allocations: 207.5 kB / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1368, allocations: 0 / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1368, allocations: 4 kB / 487.1 MB, free: 96 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1369, allocations: 4 kB / 487.1 MB, free: 92 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.0006843/0.1376, allocations: 0.4983 MB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1376, allocations: 12.03 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.1377, allocations: 24.66 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.138, allocations: 275.5 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.138, allocations: 8.375 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1381, allocations: 12.12 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1383, allocations: 115.3 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1383, allocations: 0 / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1383, allocations: 4 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1384, allocations: 4 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1385, allocations: 39.97 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.1391, allocations: 476.7 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.1395, allocations: 121.2 kB / 488.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1396, allocations: 41.83 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1396, allocations: 11.98 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.1399, allocations: 124.3 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1399, allocations: 3.938 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.1412, allocations: 496.9 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1413, allocations: 81.09 kB / 489.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.1417, allocations: 375.2 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1417, allocations: 29.7 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.1418, allocations: 144.5 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.1419, allocations: 67.09 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.142, allocations: 25.7 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1421, allocations: 342.8 kB / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1422, allocations: 59.97 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1424, allocations: 99.27 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1426, allocations: 159.5 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1426, allocations: 4 kB / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003729/0.143, allocations: 225.2 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1431, allocations: 11.94 kB / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1431, allocations: 3.984 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1431, allocations: 4 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1432, allocations: 39.92 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1432, allocations: 4 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.1433, allocations: 11.94 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1434, allocations: 20.05 kB / 491 MB, free: 11.9 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.0001448/0.1435, allocations: 158.3 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1436, allocations: 31.56 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1436, allocations: 37.83 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1436, allocations: 4 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1437, allocations: 0 / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1437, allocations: 3.984 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.1446, allocations: 0.7155 MB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1446, allocations: 3.984 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1447, allocations: 31.92 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.1447, allocations: 7.938 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1447, allocations: 8 kB / 492 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1448, allocations: 4.125 kB / 492 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.1448, allocations: 7.984 kB / 492 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.1452, allocations: 424.7 kB / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1453, allocations: 108.7 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1454, allocations: 8.188 kB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1455, allocations: 15.98 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1456, allocations: 23.8 kB / 492.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1456, allocations: 15.98 kB / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.1459, allocations: 273.9 kB / 492.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1459, allocations: 0 / 492.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1463, allocations: 48 kB / 492.9 MB, free: 9.875 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.00121/0.1475, allocations: 0.504 MB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.1478, allocations: 155.8 kB / 493.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1479, allocations: 0 / 493.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.148, allocations: 84.2 kB / 493.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.1486, allocations: 64.55 kB / 493.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.1495, allocations: 0.5626 MB / 494.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1498, allocations: 0.7677 MB / 495.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.15, allocations: 37.92 kB / 495.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.15, allocations: 31.42 kB / 495.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.15, allocations: 0 / 495.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of Templates: time 0.006219/0.1563, allocations: 2.943 MB / 498.1 MB, free: 4.875 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