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.0007147/0.0007147, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007439/0.0007439, allocations: 181.7 kB / 16.97 MB, free: 6.879 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.224/1.224, allocations: 205.4 MB / 223.1 MB, free: 5.734 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.05845/0.05845, allocations: 12.61 MB / 284 MB, free: 8.809 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.0006456/0.0006456, allocations: 20 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07706, allocations: 50.4 MB / 395.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001379/0.07847, allocations: 1.133 MB / 396.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.07863, allocations: 23.92 kB / 396.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.0787, allocations: 4 kB / 396.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.07872, allocations: 0 / 396.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.07876, allocations: 7.938 kB / 396.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.07901, allocations: 31.95 kB / 396.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.07908, allocations: 19.94 kB / 396.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.07917, allocations: 11.98 kB / 396.8 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.07921, allocations: 11.92 kB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.07926, allocations: 11.92 kB / 396.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.07928, allocations: 0 / 396.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.07929, allocations: 4 kB / 396.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.07931, allocations: 4 kB / 396.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.07936, allocations: 41.58 kB / 396.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.503e-05/0.07943, allocations: 27.88 kB / 396.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.07944, allocations: 0 / 396.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07945, allocations: 0 / 396.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.07945, allocations: 0 / 396.9 MB, free: 1.094 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.0003333/0.07979, allocations: 335.7 kB / 397.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.07983, allocations: 8.031 kB / 397.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.07985, allocations: 8.844 kB / 397.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.07999, allocations: 172.4 kB / 397.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.08001, allocations: 384 / 397.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.08003, allocations: 8.375 kB / 397.4 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.08031, allocations: 115.8 kB / 397.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.08033, allocations: 192 / 397.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.08035, allocations: 7.922 kB / 397.5 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.08035, allocations: 0 / 397.5 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.08045, allocations: 23.98 kB / 397.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.08058, allocations: 157.7 kB / 397.7 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.0807, allocations: 50.55 kB / 397.8 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.08077, allocations: 24.92 kB / 397.8 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.08079, allocations: 0 / 397.8 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.08082, allocations: 38.5 kB / 397.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.08083, allocations: 0 / 397.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002197/0.08105, allocations: 81.5 kB / 397.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.0811, allocations: 59.41 kB / 398 MB, free: 15.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.08117, allocations: 101.9 kB / 398.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.08119, allocations: 29.64 kB / 398.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.08123, allocations: 84.12 kB / 398.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.08125, allocations: 8 kB / 398.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.08127, allocations: 9.719 kB / 398.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.08137, allocations: 314.8 kB / 398.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.08139, allocations: 11.98 kB / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.08142, allocations: 39.38 kB / 398.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.08147, allocations: 31.38 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08148, allocations: 4 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.667e-05/0.08156, allocations: 61.53 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.08158, allocations: 8 kB / 398.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.08159, allocations: 3.938 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.08161, allocations: 0 / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.08165, allocations: 4 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.08166, allocations: 4 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.08169, allocations: 0 / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.0817, allocations: 3.984 kB / 398.7 MB, free: 15.07 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 ($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.514e-05/0.08178, allocations: 126 kB / 398.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.08191, allocations: 65.67 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.08194, allocations: 11.8 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.08194, allocations: 0 / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.08195, allocations: 0 / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.08196, allocations: 0 / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.951e-05/0.08204, allocations: 157.7 kB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.08205, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.08208, allocations: 7.984 kB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.08209, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.0821, allocations: 7.938 kB / 399 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.08211, allocations: 0 / 399 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.08211, allocations: 4 kB / 399 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.08226, allocations: 88.95 kB / 399.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.0823, allocations: 85.11 kB / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.08232, allocations: 3.938 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.08236, allocations: 7.984 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-06/0.08236, allocations: 0 / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.08237, allocations: 4 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.08241, allocations: 87.22 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08242, allocations: 0 / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001704/0.08259, allocations: 7.938 kB / 399.3 MB, free: 14.31 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 7.734e-05/0.08268, allocations: 91.25 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.08278, allocations: 35.91 kB / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.08279, allocations: 0 / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.0828, allocations: 256 / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.083, allocations: 24 kB / 399.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.08324, allocations: 124.7 kB / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.08344, allocations: 0.6809 MB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.08346, allocations: 7.984 kB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.08348, allocations: 7.438 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08349, allocations: 0 / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Templates: time 0.001652/0.08515, allocations: 352.9 kB / 400.6 MB, free: 12.93 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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