Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 101 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 76.69 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1487, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003447/0.1522, allocations: 1.781 MB / 481.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.154, allocations: 1.016 MB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1542, allocations: 3.938 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1545, allocations: 39.89 kB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1549, allocations: 79.67 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1551, allocations: 63.88 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1553, allocations: 99.69 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1554, allocations: 15.98 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1555, allocations: 39.73 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.1556, allocations: 39.77 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1556, allocations: 4 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1558, allocations: 39.98 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1558, allocations: 23.91 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1559, allocations: 27.75 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1561, allocations: 119.8 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1561, allocations: 4 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1561, allocations: 0 / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1562, allocations: 0 / 482.7 MB, free: 2.305 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.0006505/0.1568, allocations: 415 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1569, allocations: 8.875 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.1569, allocations: 12.84 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.1574, allocations: 208.8 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1574, allocations: 4.375 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1574, allocations: 12.06 kB / 483.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1576, allocations: 57.67 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1576, allocations: 3.938 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1576, allocations: 4 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1577, allocations: 0 / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.1577, allocations: 19.98 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1581, allocations: 288.8 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1583, allocations: 62.62 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1584, allocations: 24.84 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1584, allocations: 0 / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.1587, allocations: 67.39 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1587, allocations: 0 / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006232/0.1593, allocations: 177.2 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1594, allocations: 51.41 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1596, allocations: 194.9 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1596, allocations: 25.7 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1597, allocations: 104.1 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1597, allocations: 19.72 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1598, allocations: 29.7 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1599, allocations: 326.8 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.16, allocations: 24.08 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.16, allocations: 41.58 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1602, allocations: 61.61 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1602, allocations: 0 / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.1604, allocations: 105.4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1604, allocations: 4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1604, allocations: 8.031 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1605, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.1606, allocations: 12 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1606, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1606, allocations: 11.92 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1606, allocations: 4 kB / 485 MB, free: 15.73 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.0001057/0.1607, allocations: 121.8 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.1608, allocations: 11.84 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.1608, allocations: 21.55 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1608, allocations: 4 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1609, allocations: 3.938 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1609, allocations: 3.938 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1613, allocations: 403.2 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1613, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1614, allocations: 8 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1614, allocations: 0 / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1614, allocations: 11.94 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1614, allocations: 4.406 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1614, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1617, allocations: 196.3 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1617, allocations: 96.91 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1618, allocations: 7.938 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1619, allocations: 7.938 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1619, allocations: 11.98 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1619, allocations: 4 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1621, allocations: 152.7 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 0 / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1624, allocations: 20 kB / 486.1 MB, free: 14.55 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.001197/0.1636, allocations: 461.3 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1638, allocations: 59.89 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1638, allocations: 0 / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.1639, allocations: 31.98 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1643, allocations: 23.61 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1648, allocations: 256.8 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.1653, allocations: 0.7083 MB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1653, allocations: 17.17 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1654, allocations: 19.38 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1654, allocations: 0 / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004724/0.1701, allocations: 1.655 MB / 489.3 MB, free: 11.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches