Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.626/1.626, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003021/0.003021, allocations: 63.98 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1538, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004015/0.1579, allocations: 1.855 MB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1597, allocations: 0.6974 MB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.16, allocations: 7.938 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1602, allocations: 27.73 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1603, allocations: 19.8 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.1609, allocations: 119 kB / 360.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1611, allocations: 143.6 kB / 360.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1613, allocations: 61.7 kB / 360.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1615, allocations: 55.72 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1617, allocations: 55.66 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1617, allocations: 12 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.1618, allocations: 15.98 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.1619, allocations: 31.91 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.162, allocations: 67.55 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1623, allocations: 139.5 kB / 360.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.1623, allocations: 3.938 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.1623, allocations: 0 / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1624, allocations: 0 / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009901/0.1634, allocations: 463 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.1634, allocations: 8.031 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.1637, allocations: 28.73 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1641, allocations: 240 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1642, allocations: 12.12 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1642, allocations: 4 kB / 361.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.165, allocations: 286.4 kB / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.165, allocations: 0 / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.165, allocations: 4 kB / 361.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1651, allocations: 4 kB / 361.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1653, allocations: 79.88 kB / 361.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.166, allocations: 431.3 kB / 362.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.1666, allocations: 290 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1669, allocations: 112.4 kB / 362.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.167, allocations: 7.984 kB / 362.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.167, allocations: 38.44 kB / 362.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1671, allocations: 4 kB / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006278/0.1677, allocations: 217.5 kB / 363 MB, free: 8.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.1679, allocations: 196 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1681, allocations: 186.6 kB / 363.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1681, allocations: 29.7 kB / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1682, allocations: 104.1 kB / 363.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1682, allocations: 11.89 kB / 363.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1683, allocations: 37.7 kB / 363.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1685, allocations: 322.8 kB / 363.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.1685, allocations: 19.98 kB / 363.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1687, allocations: 138.4 kB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.1689, allocations: 161.6 kB / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1689, allocations: 0 / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002744/0.1692, allocations: 161.2 kB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1692, allocations: 11.94 kB / 364.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1693, allocations: 4.5 kB / 364.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1693, allocations: 8 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1694, allocations: 35.92 kB / 364.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1695, allocations: 7.984 kB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1696, allocations: 15.84 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1696, allocations: 12 kB / 364.4 MB, free: 6.684 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001455/0.1697, allocations: 133.7 kB / 364.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.1701, allocations: 145.3 kB / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.1702, allocations: 25.39 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1702, allocations: 4 kB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1702, allocations: 0 / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1702, allocations: 4 kB / 364.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1705, allocations: 217.4 kB / 365 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1706, allocations: 0 / 365 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1707, allocations: 39.97 kB / 365 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1707, allocations: 3.938 kB / 365 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1707, allocations: 4 kB / 365 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1707, allocations: 4.016 kB / 365 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1708, allocations: 8 kB / 365 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.1713, allocations: 359.7 kB / 365.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1714, allocations: 120.8 kB / 365.5 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1715, allocations: 3.938 kB / 365.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1716, allocations: 16.08 kB / 365.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1717, allocations: 7.938 kB / 365.5 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1717, allocations: 8.234 kB / 365.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1719, allocations: 136.3 kB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1719, allocations: 0 / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.1722, allocations: 20 kB / 365.7 MB, free: 5.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001635/0.1724, allocations: 111.2 kB / 365.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.1728, allocations: 111.8 kB / 365.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1728, allocations: 1 kB / 365.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.1729, allocations: 23.98 kB / 365.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.1737, allocations: 102.6 kB / 366 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1749, allocations: 375.4 kB / 366.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1754, allocations: 0.7241 MB / 367.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.247e-05/0.1755, allocations: 9.562 kB / 367.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.1755, allocations: 27.42 kB / 367.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1756, allocations: 0 / 367.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of Templates: time 0.006648/0.1822, allocations: 1.671 MB / 368.8 MB, free: 2.16 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches