Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 8 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1564, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002403/0.1589, allocations: 1.133 MB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.1593, allocations: 31.91 kB / 359.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.1594, allocations: 3.938 kB / 359.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.1594, allocations: 0 / 359.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.1595, allocations: 4 kB / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1598, allocations: 19.97 kB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.16, allocations: 23.92 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1601, allocations: 7.984 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.1602, allocations: 4 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.1603, allocations: 15.92 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1603, allocations: 0 / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.1603, allocations: 0 / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1603, allocations: 4 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.1604, allocations: 33.64 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.1605, allocations: 27.88 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1605, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1605, allocations: 4 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1605, allocations: 4 kB / 359.4 MB, free: 12.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006447/0.1612, allocations: 346 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.1613, allocations: 8.031 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1613, allocations: 7.906 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1616, allocations: 175.1 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1617, allocations: 0 / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1617, allocations: 4 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.1621, allocations: 127.2 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1622, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1622, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1622, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1623, allocations: 27.97 kB / 360.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.1626, allocations: 157.7 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1628, allocations: 62.58 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1628, allocations: 0 / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.1629, allocations: 34.5 kB / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1629, allocations: 0 / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003193/0.1632, allocations: 81.89 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1633, allocations: 67.34 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1634, allocations: 105.8 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1635, allocations: 29.7 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.1636, allocations: 80.14 kB / 360.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1636, allocations: 7.938 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.1636, allocations: 0 / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1638, allocations: 318.8 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.1638, allocations: 4 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.1638, allocations: 31.38 kB / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.1639, allocations: 12 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1639, allocations: 0 / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.745e-05/0.164, allocations: 61.62 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.164, allocations: 4 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.164, allocations: 0 / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1641, allocations: 7.953 kB / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.1642, allocations: 12.05 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1642, allocations: 8 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.1642, allocations: 3.906 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1642, allocations: 4 kB / 361.1 MB, free: 10.62 MB / 302.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1644, allocations: 113.8 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1645, allocations: 57.67 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.1646, allocations: 15.84 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1646, allocations: 3.953 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1646, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1646, allocations: 4 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1647, allocations: 157.7 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1647, allocations: 0 / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.1648, allocations: 15.92 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1648, allocations: 0 / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1648, allocations: 4.375 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1648, allocations: 0 / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1648, allocations: 3.953 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1651, allocations: 93.02 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.1651, allocations: 81.11 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1652, allocations: 11.92 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.1652, allocations: 8 kB / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-06/0.1652, allocations: 0 / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1652, allocations: 0 / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.1653, allocations: 83.23 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1653, allocations: 0 / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1655, allocations: 8 kB / 361.8 MB, free: 9.867 MB / 302.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.1657, allocations: 111.2 kB / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1659, allocations: 27.98 kB / 361.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1659, allocations: 0 / 361.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1659, allocations: 0 / 361.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1662, allocations: 35.86 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.1665, allocations: 117 kB / 362.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1668, allocations: 0.6965 MB / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.1668, allocations: 0 / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1668, allocations: 7.438 kB / 362.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1669, allocations: 0 / 362.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of Templates: time 0.002551/0.1694, allocations: 386.4 kB / 363.1 MB, free: 8.438 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches