Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, 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.2253/0.2253, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 80.36 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 62.44 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003326/0.142, allocations: 1.789 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1436, allocations: 1.01 MB / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.1437, allocations: 0 / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1441, allocations: 39.84 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1444, allocations: 79.67 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.1446, allocations: 71.81 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1448, allocations: 103.7 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1449, allocations: 12 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.145, allocations: 43.78 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.1451, allocations: 35.78 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1451, allocations: 4 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1452, allocations: 43.92 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.1453, allocations: 23.91 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1453, allocations: 35.75 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1455, allocations: 119.9 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1455, allocations: 0 / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1455, allocations: 0 / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1456, allocations: 0 / 482.9 MB, free: 2.199 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.000531/0.1461, allocations: 418.9 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1461, allocations: 8.031 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1462, allocations: 8.844 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1464, allocations: 216.7 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1464, allocations: 4.312 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1465, allocations: 12.11 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1466, allocations: 53.67 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1466, allocations: 0 / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1466, allocations: 4 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1467, allocations: 4 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1467, allocations: 15.98 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1471, allocations: 292.7 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1473, allocations: 54.69 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.1473, allocations: 28.84 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1474, allocations: 0 / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1475, allocations: 67.33 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1476, allocations: 4 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005098/0.1481, allocations: 165.3 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1481, allocations: 55.34 kB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1483, allocations: 198.9 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1483, allocations: 25.7 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.1484, allocations: 108.1 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1484, allocations: 27.69 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1485, allocations: 21.72 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1486, allocations: 326.8 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1487, allocations: 19.98 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1487, allocations: 45.64 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1489, allocations: 61.72 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1489, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.1491, allocations: 101.5 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1491, allocations: 6.969 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1491, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1491, allocations: 4 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.1492, allocations: 19.92 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1492, allocations: 4.031 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1493, allocations: 11.94 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1493, allocations: 0 / 485.2 MB, free: 15.62 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.0001425/0.1494, allocations: 125.8 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.1495, allocations: 11.89 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1495, allocations: 13.41 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1495, allocations: 7.938 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1495, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1495, allocations: 3.938 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.15, allocations: 403.2 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.15, allocations: 0 / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.15, allocations: 12 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.15, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.15, allocations: 3.938 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1501, allocations: 4.375 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1501, allocations: 3.938 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1503, allocations: 208.3 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1504, allocations: 92.92 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1504, allocations: 3.938 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1505, allocations: 4 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1505, allocations: 3.984 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1505, allocations: 8 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1506, allocations: 152.7 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 0 / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1509, allocations: 28 kB / 486.3 MB, free: 14.45 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.001036/0.152, allocations: 457.8 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1522, allocations: 63.95 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1522, allocations: 0 / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.1523, allocations: 27.92 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1526, allocations: 32.86 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1531, allocations: 255.1 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1534, allocations: 0.708 MB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1535, allocations: 20.81 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1536, allocations: 19.38 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1536, allocations: 0 / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004458/0.158, allocations: 1.692 MB / 489.6 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches