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.00202/0.00202, allocations: 104.5 kB / 16.31 MB, free: 5.879 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.001765/0.001765, allocations: 190.3 kB / 17.24 MB, free: 5.539 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.809/1.809, allocations: 205.1 MB / 223.1 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07915/0.07915, allocations: 12.6 MB / 283.1 MB, free: 15.46 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.003421/0.003421, allocations: 87.36 kB / 343.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3647, allocations: 49.39 MB / 392.9 MB, free: 49.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003556/0.3683, allocations: 1.41 MB / 394.3 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.3686, allocations: 37.56 kB / 394.3 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3688, allocations: 1.188 kB / 394.3 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.3688, allocations: 4.453 kB / 394.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.3689, allocations: 5.312 kB / 394.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3692, allocations: 26.27 kB / 394.4 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3694, allocations: 23.84 kB / 394.4 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3695, allocations: 9.609 kB / 394.4 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.3696, allocations: 8.938 kB / 394.4 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.3697, allocations: 14.16 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3697, allocations: 3.312 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.3697, allocations: 2.281 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.3697, allocations: 10.2 kB / 394.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.3698, allocations: 16.38 kB / 394.5 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3699, allocations: 25.58 kB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3699, allocations: 1.062 kB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3699, allocations: 0 / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.37, allocations: 0 / 394.5 MB, free: 48.11 MB / 318.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.0005324/0.3705, allocations: 341.6 kB / 394.8 MB, free: 47.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3706, allocations: 13.56 kB / 394.8 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3706, allocations: 8.062 kB / 394.8 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3708, allocations: 176.6 kB / 395 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3708, allocations: 5.656 kB / 395 MB, free: 47.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3709, allocations: 3.297 kB / 395 MB, free: 47.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.3712, allocations: 114.6 kB / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3713, allocations: 1.812 kB / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3713, allocations: 8.453 kB / 395.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3713, allocations: 0 / 395.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3714, allocations: 26.84 kB / 395.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3716, allocations: 157.9 kB / 395.3 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3717, allocations: 52.83 kB / 395.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.3718, allocations: 25.17 kB / 395.4 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3718, allocations: 0.8906 kB / 395.4 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3719, allocations: 31.5 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3719, allocations: 1.188 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002998/0.3722, allocations: 87 kB / 395.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3722, allocations: 58.48 kB / 395.6 MB, free: 47.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.3723, allocations: 102.3 kB / 395.7 MB, free: 46.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3724, allocations: 25.7 kB / 395.7 MB, free: 46.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.3724, allocations: 86.59 kB / 395.8 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3724, allocations: 2.156 kB / 395.8 MB, free: 46.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3725, allocations: 18.09 kB / 395.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.3725, allocations: 317.9 kB / 396.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3725, allocations: 7.438 kB / 396.1 MB, free: 46.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.3726, allocations: 31.16 kB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.3726, allocations: 35.17 kB / 396.2 MB, free: 46.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3726, allocations: 9.094 kB / 396.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.737e-05/0.3727, allocations: 63.34 kB / 396.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3728, allocations: 5.531 kB / 396.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3728, allocations: 5.125 kB / 396.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3728, allocations: 1.094 kB / 396.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.3729, allocations: 9.141 kB / 396.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3729, allocations: 1.984 kB / 396.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.3729, allocations: 1.062 kB / 396.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3729, allocations: 3.312 kB / 396.3 MB, free: 46.35 MB / 318.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 7.27e-05/0.373, allocations: 118.6 kB / 396.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.3731, allocations: 59.73 kB / 396.5 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.3732, allocations: 13.7 kB / 396.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3732, allocations: 1.062 kB / 396.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3732, allocations: 0 / 396.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3732, allocations: 1.094 kB / 396.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3733, allocations: 155.2 kB / 396.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3733, allocations: 1.25 kB / 396.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.3734, allocations: 7.766 kB / 396.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3734, allocations: 1.719 kB / 396.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3734, allocations: 4.453 kB / 396.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3734, allocations: 4 kB / 396.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3734, allocations: 2.219 kB / 396.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3736, allocations: 86.92 kB / 396.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.3736, allocations: 79.17 kB / 396.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3736, allocations: 5.875 kB / 396.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.3737, allocations: 10.12 kB / 396.8 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-06/0.3737, allocations: 2.234 kB / 396.8 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3737, allocations: 1.281 kB / 396.8 MB, free: 45.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.359e-05/0.3737, allocations: 83.94 kB / 396.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3737, allocations: 0 / 396.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.3739, allocations: 4.094 kB / 396.9 MB, free: 45.71 MB / 318.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 9.693e-05/0.374, allocations: 97.78 kB / 397 MB, free: 45.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3742, allocations: 42.66 kB / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3742, allocations: 4.062 kB / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3742, allocations: 0 / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3745, allocations: 26.97 kB / 397.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3749, allocations: 109.3 kB / 397.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3751, allocations: 0.6843 MB / 397.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.3751, allocations: 1.875 kB / 397.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3751, allocations: 18.64 kB / 397.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3751, allocations: 0 / 397.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of Templates: time 0.002813/0.378, allocations: 374 kB / 398.3 MB, free: 44.69 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches