Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.069/2.069, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4064/0.4064, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 79 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1419, allocations: 62.44 MB / 479.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004687/0.1466, allocations: 1.742 MB / 481.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1493, allocations: 0.9979 MB / 482.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1495, allocations: 4 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.15, allocations: 55.75 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.1505, allocations: 83.73 kB / 482.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1508, allocations: 67.86 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.1511, allocations: 91.64 kB / 483 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.1512, allocations: 4.234 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1514, allocations: 51.77 kB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1515, allocations: 23.86 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1515, allocations: 7.938 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1517, allocations: 31.98 kB / 483.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.1518, allocations: 31.84 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.1519, allocations: 43.66 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1521, allocations: 96.09 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1522, allocations: 0 / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1522, allocations: 0 / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1522, allocations: 0 / 483.3 MB, free: 2.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007491/0.1529, allocations: 426.8 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.153, allocations: 8.875 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.1531, allocations: 24.75 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1534, allocations: 220.8 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1535, allocations: 8.312 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1535, allocations: 4.125 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1537, allocations: 45.67 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1537, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1538, allocations: 8 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1538, allocations: 0 / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1539, allocations: 11.98 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.1542, allocations: 193.7 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1545, allocations: 58.56 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.1546, allocations: 24.78 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1546, allocations: 0 / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.155, allocations: 63.39 kB / 484.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.324e-06/0.155, allocations: 0 / 484.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004604/0.1554, allocations: 97.48 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1555, allocations: 55.34 kB / 484.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.1559, allocations: 267 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.156, allocations: 33.7 kB / 484.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1561, allocations: 108.1 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1562, allocations: 11.89 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.1562, allocations: 21.72 kB / 484.9 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1564, allocations: 326.8 kB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.1565, allocations: 15.98 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1566, allocations: 33.94 kB / 485.3 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1568, allocations: 45.66 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1569, allocations: 0 / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003359/0.1572, allocations: 97.36 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1572, allocations: 8 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1573, allocations: 0 / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1573, allocations: 0 / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1574, allocations: 15.94 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1575, allocations: 3.938 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.1576, allocations: 11.84 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1576, allocations: 7.984 kB / 485.5 MB, free: 15.88 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 (7): * Single equations (assignments): 7 * 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.0001787/0.1578, allocations: 141 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1578, allocations: 11.91 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.1579, allocations: 17 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.158, allocations: 3.984 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1582, allocations: 201.5 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1582, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.1583, allocations: 8 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1583, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1583, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1583, allocations: 4 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1583, allocations: 0 / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1587, allocations: 117 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.1588, allocations: 88.92 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1589, allocations: 8 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.159, allocations: 3.984 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.159, allocations: 4 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.159, allocations: 4 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.1594, allocations: 208.4 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1594, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000432/0.1598, allocations: 20 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001593/0.1614, allocations: 404.5 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1617, allocations: 43.92 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1617, allocations: 3.938 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1619, allocations: 28.17 kB / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1623, allocations: 27.92 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.1633, allocations: 318 kB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1637, allocations: 0.716 MB / 487.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1638, allocations: 15.42 kB / 487.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1638, allocations: 0 / 487.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.006083/0.1699, allocations: 1.875 MB / 489.7 MB, free: 11.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches