Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 82.12 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 62.43 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002898/0.1318, allocations: 1.789 MB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1333, allocations: 1.017 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1334, allocations: 0 / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.1337, allocations: 51.75 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.134, allocations: 79.73 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.1342, allocations: 59.88 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1344, allocations: 107.7 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.1345, allocations: 8 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.1345, allocations: 43.77 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.1346, allocations: 31.8 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1346, allocations: 0 / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.1347, allocations: 47.92 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.1348, allocations: 23.91 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1349, allocations: 35.73 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1351, allocations: 119.8 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1351, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1351, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1351, allocations: 4 kB / 482.7 MB, free: 2.309 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.000566/0.1357, allocations: 415 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1357, allocations: 12.88 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1358, allocations: 8.844 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.136, allocations: 219.9 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.136, allocations: 384 / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.136, allocations: 12.12 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1362, allocations: 53.67 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1362, allocations: 0 / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1362, allocations: 0 / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1363, allocations: 4 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.1363, allocations: 15.98 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1367, allocations: 296.8 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1369, allocations: 54.69 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1369, allocations: 24.84 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.137, allocations: 3.938 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.1372, allocations: 63.39 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.1372, allocations: 0 / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.1378, allocations: 189.2 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1378, allocations: 51.41 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.138, allocations: 210.8 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.138, allocations: 29.64 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1381, allocations: 104.1 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1381, allocations: 27.69 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1382, allocations: 21.72 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1383, allocations: 334.8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.1384, allocations: 19.98 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1384, allocations: 33.7 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1385, allocations: 65.77 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1386, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.1387, allocations: 101.4 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1388, allocations: 12.03 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1388, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1388, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.1389, allocations: 19.92 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1389, allocations: 4 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1389, allocations: 3.938 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1389, allocations: 4 kB / 485.1 MB, free: 15.71 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.0001015/0.1391, allocations: 136.1 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1391, allocations: 11.91 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1391, allocations: 21.39 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1391, allocations: 4 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1392, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1392, allocations: 3.938 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1396, allocations: 395.2 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1396, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1397, allocations: 11.98 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1397, allocations: 0 / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1397, allocations: 15.97 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1397, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1397, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1399, allocations: 200.2 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.14, allocations: 88.92 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.14, allocations: 7.938 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1401, allocations: 11.98 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1401, allocations: 7.984 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1402, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1403, allocations: 160.5 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1403, allocations: 0 / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1405, allocations: 23.94 kB / 486.1 MB, free: 14.52 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.001046/0.1416, allocations: 461.9 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1418, allocations: 59.97 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1418, allocations: 0 / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.1419, allocations: 28.08 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1422, allocations: 35.06 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.1427, allocations: 264.8 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1429, allocations: 0.7122 MB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.143, allocations: 12.88 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.143, allocations: 15.44 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.143, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004176/0.1472, allocations: 1.667 MB / 489.4 MB, free: 11.4 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches