Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 94.31 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001722, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002174/0.1271, allocations: 1.446 MB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1288, allocations: 0.9941 MB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.1289, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1292, allocations: 39.84 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1295, allocations: 75.73 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1298, allocations: 63.89 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.13, allocations: 103.6 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.1301, allocations: 8 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1302, allocations: 35.8 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.1303, allocations: 35.77 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1303, allocations: 4 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1305, allocations: 39.98 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1305, allocations: 19.88 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.1306, allocations: 65.44 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1308, allocations: 111.9 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1308, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1308, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1308, allocations: 0 / 486.1 MB, free: 1.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005079/0.1314, allocations: 402.5 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1314, allocations: 8.875 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1315, allocations: 12.75 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1317, allocations: 204.1 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1317, allocations: 16.31 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1318, allocations: 4.125 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1319, allocations: 53.67 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1319, allocations: 0 / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1319, allocations: 4 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.132, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.132, allocations: 15.98 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1324, allocations: 292.9 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1326, allocations: 62.61 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1327, allocations: 20.84 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1327, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1329, allocations: 63.39 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1329, allocations: 8 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.1334, allocations: 173.2 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1335, allocations: 51.41 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1337, allocations: 180.1 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1337, allocations: 25.7 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1338, allocations: 112 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1338, allocations: 19.73 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1338, allocations: 17.72 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.134, allocations: 326.8 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.134, allocations: 27.92 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.1341, allocations: 37.7 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1342, allocations: 53.72 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1342, allocations: 0 / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1344, allocations: 109.4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1345, allocations: 8 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1345, allocations: 192 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1345, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.1346, allocations: 20.3 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1346, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.1347, allocations: 7.938 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1347, allocations: 8 kB / 488.4 MB, free: 14.56 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 (10): * Single equations (assignments): 10 * 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.0001033/0.1348, allocations: 121.8 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1348, allocations: 15.89 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1349, allocations: 17.41 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1349, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1349, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1349, allocations: 3.938 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1354, allocations: 395.2 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1354, allocations: 0 / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.1354, allocations: 8 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1354, allocations: 4.031 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1354, allocations: 7.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1355, allocations: 4 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1355, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1357, allocations: 200.2 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1358, allocations: 96.91 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1358, allocations: 3.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1359, allocations: 8 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1359, allocations: 11.98 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1359, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1361, allocations: 138.8 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1361, allocations: 3.938 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1363, allocations: 24 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001091/0.1374, allocations: 456.8 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1376, allocations: 63.91 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1377, allocations: 0 / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.1377, allocations: 27.92 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1381, allocations: 31.11 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.1386, allocations: 246.3 kB / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1389, allocations: 0.7043 MB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.139, allocations: 16.88 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.139, allocations: 19.44 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.139, allocations: 0 / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.004636/0.1437, allocations: 1.646 MB / 492.7 MB, free: 10.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches