Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007003/0.007003, allocations: 88.56 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 200.2 kB / 16.83 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.7 MB, free: 4.816 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09341/0.09342, allocations: 12.59 MB / 282.6 MB, free: 8.906 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 87.86 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1612, allocations: 49.4 MB / 392.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.004435/0.1657, allocations: 1.472 MB / 393.7 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.1661, allocations: 31.91 kB / 393.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1663, allocations: 0 / 393.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.1664, allocations: 3.938 kB / 393.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.1664, allocations: 0 / 393.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1668, allocations: 27.97 kB / 393.7 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1669, allocations: 23.92 kB / 393.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1671, allocations: 12 kB / 393.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.1672, allocations: 15.92 kB / 393.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.1672, allocations: 11.92 kB / 393.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1673, allocations: 4 kB / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.1673, allocations: 0 / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.1673, allocations: 11.98 kB / 393.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1674, allocations: 11.88 kB / 393.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1675, allocations: 23.91 kB / 393.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1675, allocations: 0 / 393.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1675, allocations: 0 / 393.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1676, allocations: 0 / 393.8 MB, free: 2.062 MB / 286.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.0007266/0.1683, allocations: 343.7 kB / 394.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.1684, allocations: 12.03 kB / 394.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1684, allocations: 4.844 kB / 394.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1687, allocations: 180.3 kB / 394.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1688, allocations: 4.375 kB / 394.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1688, allocations: 384 / 394.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.1693, allocations: 111.9 kB / 394.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1693, allocations: 4.188 kB / 394.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1693, allocations: 3.938 kB / 394.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.1694, allocations: 0 / 394.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1695, allocations: 19.98 kB / 394.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.1697, allocations: 161.6 kB / 394.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1699, allocations: 54.53 kB / 394.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.17, allocations: 20.89 kB / 394.7 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1701, allocations: 8 kB / 394.7 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1701, allocations: 38.55 kB / 394.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1701, allocations: 0 / 394.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003432/0.1705, allocations: 77.59 kB / 394.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.1706, allocations: 55.34 kB / 394.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.1707, allocations: 109.8 kB / 395 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1707, allocations: 25.7 kB / 395 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1708, allocations: 88.14 kB / 395.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1708, allocations: 7.938 kB / 395.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1708, allocations: 21.7 kB / 395.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.171, allocations: 310.8 kB / 395.5 MB, free: 216 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.171, allocations: 4 kB / 395.5 MB, free: 212 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.1711, allocations: 31.42 kB / 395.5 MB, free: 168 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.1711, allocations: 39.38 kB / 395.5 MB, free: 116 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1711, allocations: 0 / 395.5 MB, free: 116 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001073/0.1712, allocations: 65.53 kB / 395.6 MB, free: 44 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1713, allocations: 4 kB / 395.6 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1713, allocations: 3.938 kB / 395.6 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1713, allocations: 8.125 kB / 395.6 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1714, allocations: 7.938 kB / 395.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1714, allocations: 0 / 395.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1714, allocations: 0 / 395.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1714, allocations: 4 kB / 395.6 MB, free: 16 kB / 286.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 ($CLKPRE.step.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1716, allocations: 117.8 kB / 395.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1717, allocations: 58.05 kB / 395.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1717, allocations: 11.44 kB / 395.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1718, allocations: 0 / 395.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1718, allocations: 4 kB / 395.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1718, allocations: 4 kB / 395.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1719, allocations: 161.6 kB / 396 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1719, allocations: 0 / 396 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.172, allocations: 7.938 kB / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.172, allocations: 0 / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.172, allocations: 3.938 kB / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.172, allocations: 7.984 kB / 396 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.172, allocations: 0 / 396 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1722, allocations: 85.11 kB / 396.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.1723, allocations: 77.11 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1723, allocations: 7.938 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.1724, allocations: 4 kB / 396.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-06/0.1724, allocations: 3.938 kB / 396.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.1724, allocations: 4 kB / 396.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.897e-05/0.1724, allocations: 83.27 kB / 396.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 3.938 kB / 396.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1727, allocations: 4 kB / 396.3 MB, free: 15.27 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 (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.0001098/0.1728, allocations: 103.2 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1729, allocations: 23.98 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1729, allocations: 4 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.1729, allocations: 0 / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1732, allocations: 31.86 kB / 396.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.1735, allocations: 123.5 kB / 396.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1738, allocations: 0.6809 MB / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.1739, allocations: 3.984 kB / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1739, allocations: 11.44 kB / 397.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1739, allocations: 0 / 397.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002987/0.1769, allocations: 353 kB / 397.6 MB, free: 13.89 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches