Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001893/0.001893, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.693/1.693, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 59.89 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1612, allocations: 53.32 MB / 427.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003579/0.1647, allocations: 1.46 MB / 428.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.1652, allocations: 99.66 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1653, allocations: 0 / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.1653, allocations: 11.94 kB / 428.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.1654, allocations: 0 / 428.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1657, allocations: 19.86 kB / 428.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1659, allocations: 31.91 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1661, allocations: 8 kB / 428.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.1662, allocations: 11.92 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1663, allocations: 11.94 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1663, allocations: 0 / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.1663, allocations: 4 kB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.1664, allocations: 4 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.1664, allocations: 19.86 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1666, allocations: 35.83 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1666, allocations: 0 / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1666, allocations: 0 / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1667, allocations: 0 / 428.9 MB, free: 2.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008018/0.1675, allocations: 335.4 kB / 429.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.1675, allocations: 8.031 kB / 429.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.1676, allocations: 8.891 kB / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.168, allocations: 176.3 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1681, allocations: 12.36 kB / 429.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1681, allocations: 4.312 kB / 429.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.1687, allocations: 103.9 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1688, allocations: 192 / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1688, allocations: 3.938 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1688, allocations: 0 / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.169, allocations: 27.97 kB / 429.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1693, allocations: 157.6 kB / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1695, allocations: 54.48 kB / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.1696, allocations: 24.92 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.1697, allocations: 0 / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.1697, allocations: 34.56 kB / 429.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.1697, allocations: 0 / 429.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004016/0.1701, allocations: 73.61 kB / 429.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.1702, allocations: 59.33 kB / 429.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1704, allocations: 105.9 kB / 430 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1704, allocations: 29.64 kB / 430 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.1705, allocations: 88.12 kB / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.1705, allocations: 4 kB / 430.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.1706, allocations: 17.72 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000327/0.1709, allocations: 314.8 kB / 430.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.1709, allocations: 3.984 kB / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.171, allocations: 27.44 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1711, allocations: 43.38 kB / 430.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1711, allocations: 256 / 430.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.1712, allocations: 57.58 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1712, allocations: 4 kB / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.1712, allocations: 11.94 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1712, allocations: 4.125 kB / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.1713, allocations: 7.938 kB / 430.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1713, allocations: 4 kB / 430.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.1714, allocations: 0 / 430.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1714, allocations: 4 kB / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001562/0.1715, allocations: 113.8 kB / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1717, allocations: 53.69 kB / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.1718, allocations: 11.84 kB / 430.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1718, allocations: 4 kB / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1718, allocations: 0 / 430.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1718, allocations: 7.984 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.172, allocations: 153.6 kB / 431 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.172, allocations: 4 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.1721, allocations: 7.938 kB / 431 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1721, allocations: 0 / 431 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1721, allocations: 11.88 kB / 431 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1721, allocations: 3.984 kB / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1721, allocations: 0 / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.1725, allocations: 85.41 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1726, allocations: 81.14 kB / 431.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1726, allocations: 7.922 kB / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.1727, allocations: 4 kB / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-06/0.1727, allocations: 0 / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1727, allocations: 0 / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.23e-05/0.1727, allocations: 87.22 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1727, allocations: 0 / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.173, allocations: 8 kB / 431.3 MB, free: 20 kB / 350.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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002529/0.1733, allocations: 107.4 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1735, allocations: 23.98 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.1735, allocations: 0 / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1735, allocations: 0 / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1738, allocations: 19.94 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1743, allocations: 117.8 kB / 431.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1747, allocations: 0.6807 MB / 432.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.1747, allocations: 0 / 432.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1748, allocations: 11.44 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1748, allocations: 0 / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.00434/0.1791, allocations: 328.7 kB / 432.5 MB, free: 14.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856589816510677]