Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.001209, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1564, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003805/0.1603, allocations: 1.927 MB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1622, allocations: 1.06 MB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1623, allocations: 0 / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1626, allocations: 43.72 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.163, allocations: 103.5 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1632, allocations: 91.64 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1635, allocations: 151.5 kB / 484.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1636, allocations: 29.55 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.1637, allocations: 51.72 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1638, allocations: 47.72 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1638, allocations: 8 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1639, allocations: 51.97 kB / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.164, allocations: 35.84 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1641, allocations: 51.62 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1644, allocations: 151.5 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1644, allocations: 3.938 kB / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1644, allocations: 0 / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1644, allocations: 0 / 485.3 MB, free: 0.7188 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000665/0.1651, allocations: 496.3 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1651, allocations: 12.03 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1652, allocations: 20.75 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1655, allocations: 229.6 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1656, allocations: 4.375 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1656, allocations: 12.12 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1658, allocations: 110.5 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1659, allocations: 0 / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1659, allocations: 8 kB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1659, allocations: 4 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.166, allocations: 39.97 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.1666, allocations: 0.5087 MB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.167, allocations: 94.58 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.1671, allocations: 44.83 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1671, allocations: 0 / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1673, allocations: 79.38 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1673, allocations: 4 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003858/0.1677, allocations: 141.4 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1677, allocations: 63.28 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1679, allocations: 199.1 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.168, allocations: 25.7 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.168, allocations: 120 kB / 487.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1681, allocations: 35.48 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1681, allocations: 33.7 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1683, allocations: 326.8 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.1684, allocations: 27.98 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1685, allocations: 64.14 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.1687, allocations: 104.5 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1687, allocations: 4 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002784/0.169, allocations: 133.5 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.169, allocations: 8 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.169, allocations: 0 / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.169, allocations: 4 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1692, allocations: 31.86 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1692, allocations: 3.984 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.1693, allocations: 11.94 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1693, allocations: 4 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001235/0.1694, allocations: 129.8 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1694, allocations: 15.81 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.1695, allocations: 25.34 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1695, allocations: 3.938 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1695, allocations: 0 / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1695, allocations: 0 / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1697, allocations: 213.5 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1697, allocations: 0 / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.1698, allocations: 12 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1698, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1699, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1699, allocations: 7.922 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1699, allocations: 8 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.1702, allocations: 177 kB / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1703, allocations: 92.89 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1703, allocations: 4 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.1704, allocations: 15.92 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1705, allocations: 11.98 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1705, allocations: 8 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1706, allocations: 144.4 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1708, allocations: 24 kB / 489.1 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009781/0.1718, allocations: 396.5 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1721, allocations: 84.02 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1721, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.1722, allocations: 31.92 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1725, allocations: 51.39 kB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.1731, allocations: 255.6 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1734, allocations: 0.7163 MB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1734, allocations: 13.8 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1735, allocations: 27.42 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1735, allocations: 0 / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004974/0.1785, allocations: 1.892 MB / 492.5 MB, free: 9.164 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches