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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 168.8 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205 MB / 222.5 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007152/0.0007153, allocations: 100.1 kB / 270.5 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06964/0.06964, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0719/0.07224, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001368/0.07365, allocations: 1.14 MB / 442.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.07389, allocations: 31.91 kB / 442.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.07398, allocations: 0 / 442.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.07402, allocations: 3.938 kB / 442.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.07407, allocations: 0 / 442.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.07431, allocations: 31.97 kB / 442.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.07439, allocations: 27.92 kB / 442.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.07448, allocations: 4 kB / 442.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.07452, allocations: 15.92 kB / 442.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.483e-05/0.07456, allocations: 7.938 kB / 442.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.07459, allocations: 0 / 442.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.0746, allocations: 0 / 442.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.07463, allocations: 15.97 kB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.07467, allocations: 7.875 kB / 443 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.947e-05/0.07473, allocations: 15.97 kB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.07474, allocations: 4 kB / 443 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.07475, allocations: 4 kB / 443 MB, free: 15.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.07476, allocations: 0 / 443 MB, free: 15.08 MB / 298.7 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.0003068/0.07507, allocations: 331.7 kB / 443.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.07511, allocations: 12.03 kB / 443.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.07516, allocations: 8.828 kB / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.07529, allocations: 172.3 kB / 443.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.07532, allocations: 8.359 kB / 443.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.07534, allocations: 4.375 kB / 443.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.07565, allocations: 123.8 kB / 443.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.07567, allocations: 4.188 kB / 443.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.07569, allocations: 3.938 kB / 443.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.0757, allocations: 0 / 443.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.0758, allocations: 15.98 kB / 443.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.07592, allocations: 161.7 kB / 443.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.07605, allocations: 54.5 kB / 443.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.07612, allocations: 28.92 kB / 443.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.07614, allocations: 0 / 443.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.07616, allocations: 30.56 kB / 443.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.07617, allocations: 0 / 443.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.07639, allocations: 81.5 kB / 444 MB, free: 13.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.07644, allocations: 59.34 kB / 444.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.0765, allocations: 109.8 kB / 444.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.07652, allocations: 29.7 kB / 444.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.07654, allocations: 84.14 kB / 444.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.07656, allocations: 3.938 kB / 444.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.07658, allocations: 13.72 kB / 444.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.07664, allocations: 318.8 kB / 444.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.07666, allocations: 4 kB / 444.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.07668, allocations: 31.44 kB / 444.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.07672, allocations: 35.38 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.07673, allocations: 0 / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.689e-05/0.07681, allocations: 69.59 kB / 444.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.07684, allocations: 4 kB / 444.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.07685, allocations: 3.938 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.07687, allocations: 4 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.07693, allocations: 11.92 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.07694, allocations: 0 / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.07696, allocations: 0 / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.07697, allocations: 4 kB / 444.8 MB, free: 13.04 MB / 298.7 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 6.414e-05/0.07704, allocations: 118.7 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.07717, allocations: 61.73 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.0772, allocations: 11.44 kB / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.0772, allocations: 0 / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.07721, allocations: 0 / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.07722, allocations: 4.234 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.456e-05/0.07728, allocations: 157.6 kB / 445.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.07729, allocations: 7.938 kB / 445.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.07733, allocations: 3.984 kB / 445.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.07733, allocations: 4 kB / 445.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.07735, allocations: 3.938 kB / 445.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.07736, allocations: 4 kB / 445.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.07736, allocations: 0 / 445.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.0775, allocations: 89.02 kB / 445.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.07753, allocations: 81.09 kB / 445.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.07755, allocations: 3.938 kB / 445.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.07758, allocations: 7.938 kB / 445.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.07759, allocations: 0 / 445.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.0776, allocations: 4.375 kB / 445.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.07763, allocations: 87.28 kB / 445.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07764, allocations: 0 / 445.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.07786, allocations: 4 kB / 445.4 MB, free: 12.29 MB / 298.7 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 8.044e-05/0.07795, allocations: 107.2 kB / 445.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.07807, allocations: 23.98 kB / 445.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.07808, allocations: 0 / 445.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.07808, allocations: 0 / 445.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.0783, allocations: 38.23 kB / 445.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.07855, allocations: 141 kB / 445.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/0.07865, allocations: 0.6848 MB / 446.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.07868, allocations: 7.438 kB / 446.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.07868, allocations: 0 / 446.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of Templates: time 0.001537/0.08022, allocations: 0.5899 MB / 447 MB, free: 10.64 MB / 298.7 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/jenkins1/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