Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 78.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003655/0.1288, allocations: 1.91 MB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1306, allocations: 1.13 MB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1308, allocations: 3.938 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.1313, allocations: 267.2 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.1319, allocations: 227.2 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1322, allocations: 115.6 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1326, allocations: 263.4 kB / 485.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1327, allocations: 41.58 kB / 485.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1329, allocations: 131.5 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1331, allocations: 183.5 kB / 485.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1331, allocations: 8 kB / 485.7 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1333, allocations: 59.98 kB / 485.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.1334, allocations: 67.7 kB / 485.9 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1335, allocations: 103.2 kB / 486 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1338, allocations: 259 kB / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1339, allocations: 0 / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1339, allocations: 0 / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1339, allocations: 0 / 486.2 MB, free: 15.78 MB / 366.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.0008118/0.1347, allocations: 0.5757 MB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1347, allocations: 8.031 kB / 486.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.1348, allocations: 36.55 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.1353, allocations: 294.4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1354, allocations: 16.31 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1354, allocations: 8.125 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1356, allocations: 111.3 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1357, allocations: 3.906 kB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1357, allocations: 4 kB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1357, allocations: 4 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1358, allocations: 43.91 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.1365, allocations: 492.7 kB / 487.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1369, allocations: 121.2 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.137, allocations: 49.83 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.137, allocations: 0 / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.1373, allocations: 117 kB / 488.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1373, allocations: 0 / 488.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001237/0.1385, allocations: 0.5077 MB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1386, allocations: 85.05 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.1391, allocations: 0.4899 MB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1391, allocations: 29.7 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1392, allocations: 172.5 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.1393, allocations: 71.02 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.1394, allocations: 45.7 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1396, allocations: 350.8 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1397, allocations: 55.97 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1399, allocations: 91.34 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1401, allocations: 163.3 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1402, allocations: 0 / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004107/0.1406, allocations: 225.2 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1406, allocations: 11.94 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1406, allocations: 0 / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1406, allocations: 7.984 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1408, allocations: 43.91 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1408, allocations: 4.062 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.1409, allocations: 19.91 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1409, allocations: 8 kB / 490.4 MB, free: 11.28 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.0002068/0.1411, allocations: 173.7 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1412, allocations: 39.5 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1413, allocations: 46.89 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1413, allocations: 4 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1413, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1413, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.1423, allocations: 0.7389 MB / 491.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1424, allocations: 7.938 kB / 491.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.1424, allocations: 23.98 kB / 491.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1425, allocations: 4 kB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1425, allocations: 8.312 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1425, allocations: 8 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1425, allocations: 3.938 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.1431, allocations: 433.1 kB / 491.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1432, allocations: 104.7 kB / 492 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.1433, allocations: 4 kB / 492 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1434, allocations: 11.98 kB / 492 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.1435, allocations: 27.86 kB / 492 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.1435, allocations: 11.98 kB / 492 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.1439, allocations: 371.1 kB / 492.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1439, allocations: 0 / 492.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.1443, allocations: 56 kB / 492.5 MB, free: 9.102 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.001311/0.1456, allocations: 0.5098 MB / 493 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.146, allocations: 155.8 kB / 493.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.146, allocations: 3.938 kB / 493.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1461, allocations: 84.22 kB / 493.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.1467, allocations: 64.42 kB / 493.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.1476, allocations: 0.5941 MB / 493.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.148, allocations: 0.7831 MB / 494.7 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1481, allocations: 37.92 kB / 494.7 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.1482, allocations: 31.44 kB / 494.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1482, allocations: 0 / 494.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of Templates: time 0.006907/0.1551, allocations: 3.185 MB / 497.9 MB, free: 3.812 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches