Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 74.56 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 62.45 MB / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004058/0.1529, allocations: 1.681 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.155, allocations: 1.008 MB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1552, allocations: 4 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1556, allocations: 63.73 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.156, allocations: 107.6 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1562, allocations: 75.67 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1564, allocations: 103.7 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.24e-05/0.1565, allocations: 4.234 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1566, allocations: 47.78 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1567, allocations: 43.83 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1568, allocations: 4 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1569, allocations: 31.98 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.1569, allocations: 31.84 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.157, allocations: 31.75 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1572, allocations: 103.9 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1573, allocations: 0 / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1573, allocations: 0 / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1573, allocations: 0 / 483.4 MB, free: 1.902 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.0006026/0.1579, allocations: 407 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1579, allocations: 12.02 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.158, allocations: 12.84 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1583, allocations: 208.8 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1583, allocations: 12.23 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1583, allocations: 4.125 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1585, allocations: 49.67 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1585, allocations: 0 / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1585, allocations: 0 / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1585, allocations: 3.984 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1586, allocations: 12 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.1588, allocations: 181.7 kB / 484.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.159, allocations: 62.55 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1591, allocations: 24.78 kB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1591, allocations: 0 / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.1593, allocations: 63.39 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1593, allocations: 7.938 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003002/0.1596, allocations: 101.4 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1597, allocations: 51.41 kB / 484.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1599, allocations: 194.4 kB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.1599, allocations: 29.7 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.16, allocations: 100.1 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.16, allocations: 11.89 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1601, allocations: 21.72 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1602, allocations: 322.8 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.1603, allocations: 15.98 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.1603, allocations: 29.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.1604, allocations: 37.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1605, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.1606, allocations: 97.39 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1607, allocations: 10.5 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1607, allocations: 0 / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1607, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1608, allocations: 8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1608, allocations: 3.938 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.1609, allocations: 7.984 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1609, allocations: 0 / 485.4 MB, free: 15.61 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.0001077/0.161, allocations: 121.8 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.161, allocations: 15.81 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.1611, allocations: 20.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1611, allocations: 3.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1611, allocations: 320 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1611, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.1613, allocations: 193.5 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1613, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.1613, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1613, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1613, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1614, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1614, allocations: 4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1616, allocations: 112.9 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.1616, allocations: 85.02 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1617, allocations: 0 / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.1617, allocations: 3.984 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1617, allocations: 8 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1618, allocations: 0 / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1619, allocations: 152.2 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1619, allocations: 0 / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1621, allocations: 19.94 kB / 486.2 MB, free: 14.77 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.0009752/0.1631, allocations: 411.8 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1633, allocations: 47.91 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1633, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.1634, allocations: 16 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1637, allocations: 42.95 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1642, allocations: 201.9 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1645, allocations: 0.7049 MB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.1645, allocations: 12.55 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1646, allocations: 15.44 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1646, allocations: 3.938 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004462/0.1691, allocations: 1.497 MB / 489.1 MB, free: 11.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches