Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 82.95 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1475, allocations: 62.46 MB / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003672/0.1512, allocations: 1.677 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1532, allocations: 1.012 MB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1533, allocations: 0 / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1537, allocations: 51.75 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1541, allocations: 103.6 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1544, allocations: 75.67 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.1546, allocations: 95.7 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.1547, allocations: 8.234 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1548, allocations: 43.78 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.1549, allocations: 27.84 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1549, allocations: 4 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1551, allocations: 28 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1552, allocations: 39.78 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1553, allocations: 39.67 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1555, allocations: 119.8 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1555, allocations: 0 / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1555, allocations: 0 / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1556, allocations: 4 kB / 483.4 MB, free: 1.914 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.0006777/0.1562, allocations: 430.8 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1563, allocations: 8.031 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1564, allocations: 20.75 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1566, allocations: 228.8 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1566, allocations: 4.312 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1567, allocations: 8.062 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1568, allocations: 49.67 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1569, allocations: 4 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1569, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1569, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.157, allocations: 12 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1573, allocations: 193.7 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1575, allocations: 58.55 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.1576, allocations: 24.8 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1576, allocations: 0 / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.1578, allocations: 59.39 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1579, allocations: 3.938 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00038/0.1582, allocations: 101.5 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1583, allocations: 59.34 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1586, allocations: 271 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1586, allocations: 25.7 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.1587, allocations: 116.1 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1587, allocations: 3.906 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1588, allocations: 25.7 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1589, allocations: 326.8 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.159, allocations: 15.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.1591, allocations: 21.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.1592, allocations: 49.7 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1592, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001866/0.1594, allocations: 89.38 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1594, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1594, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1594, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.1595, allocations: 16.3 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1595, allocations: 4.031 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.1596, allocations: 19.78 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1596, allocations: 4 kB / 485.6 MB, free: 15.46 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.0001076/0.1597, allocations: 137.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1597, allocations: 11.91 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1598, allocations: 20.98 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1598, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1598, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1598, allocations: 4 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.16, allocations: 201.5 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.16, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.16, allocations: 4 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.16, allocations: 7.922 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.16, allocations: 4 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1601, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1601, allocations: 4 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1603, allocations: 108.9 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1603, allocations: 92.92 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1604, allocations: 7.938 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.1604, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.1605, allocations: 3.984 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1605, allocations: 4 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.1607, allocations: 200.4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1607, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1609, allocations: 23.98 kB / 486.4 MB, free: 14.55 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.0009804/0.1619, allocations: 402.6 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1621, allocations: 47.92 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1621, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.683e-05/0.1622, allocations: 19.98 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1625, allocations: 30.27 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.1631, allocations: 266.5 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1635, allocations: 0.7166 MB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.197e-05/0.1635, allocations: 16.55 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.1636, allocations: 15.42 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1636, allocations: 0 / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004574/0.1682, allocations: 1.529 MB / 489.4 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches