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.001456/0.001456, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 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.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 82.64 kB / 261.8 MB, free: 1.684 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.06375/0.06375, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.39e-05, allocations: 0 / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08803/0.3083, allocations: 76.57 MB / 0.494 GB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3086, allocations: 71.95 kB / 0.4941 GB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001853/0.3104, allocations: 0.7519 MB / 0.4948 GB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3105, allocations: 4 kB / 0.4948 GB, free: 4.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3105, allocations: 0 / 0.4948 GB, free: 4.844 MB / 346.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.0002724/0.3108, allocations: 318.5 kB / 0.4951 GB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3108, allocations: 12.03 kB / 0.4951 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.3108, allocations: 0 / 0.4951 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.311, allocations: 171.1 kB / 0.4953 GB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3111, allocations: 4 kB / 0.4953 GB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3111, allocations: 3.953 kB / 0.4953 GB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.691e-05/0.3111, allocations: 19.92 kB / 0.4953 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3113, allocations: 91.33 kB / 0.4954 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3113, allocations: 0 / 0.4954 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3114, allocations: 3.938 kB / 0.4954 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3114, allocations: 0 / 0.4954 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.3115, allocations: 138.2 kB / 0.4956 GB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.3116, allocations: 34.58 kB / 0.4956 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.3116, allocations: 16.89 kB / 0.4956 GB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3116, allocations: 3.938 kB / 0.4956 GB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3116, allocations: 34.52 kB / 0.4956 GB, free: 3.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3116, allocations: 3.938 kB / 0.4956 GB, free: 3.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001164/0.3118, allocations: 53.73 kB / 0.4957 GB, free: 3.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3118, allocations: 55.45 kB / 0.4957 GB, free: 3.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.3119, allocations: 96.98 kB / 0.4958 GB, free: 3.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3119, allocations: 25.7 kB / 0.4959 GB, free: 3.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.3119, allocations: 84.14 kB / 0.4959 GB, free: 3.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.312, allocations: 4 kB / 0.4959 GB, free: 3.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.312, allocations: 0 / 0.4959 GB, free: 3.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3121, allocations: 310.8 kB / 0.4962 GB, free: 3.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.3121, allocations: 12 kB / 0.4963 GB, free: 3.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.3121, allocations: 31.41 kB / 0.4963 GB, free: 3.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.3122, allocations: 11.94 kB / 0.4963 GB, free: 3.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3122, allocations: 0 / 0.4963 GB, free: 3.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.227e-05/0.3123, allocations: 61.53 kB / 0.4964 GB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3123, allocations: 8 kB / 0.4964 GB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3123, allocations: 0 / 0.4964 GB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3123, allocations: 3.953 kB / 0.4964 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.3124, allocations: 4 kB / 0.4964 GB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3124, allocations: 4 kB / 0.4964 GB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.3124, allocations: 0 / 0.4964 GB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.3124, allocations: 0 / 0.4964 GB, free: 3.039 MB / 346.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 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * 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 6.945e-05/0.3125, allocations: 105.1 kB / 0.4965 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.3125, allocations: 53.62 kB / 0.4965 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.3126, allocations: 8.125 kB / 0.4965 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3126, allocations: 0 / 0.4965 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3126, allocations: 3.953 kB / 0.4965 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3126, allocations: 384 / 0.4965 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.124e-05/0.3127, allocations: 138.2 kB / 0.4967 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3127, allocations: 4 kB / 0.4967 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.3127, allocations: 4 kB / 0.4967 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3127, allocations: 0 / 0.4967 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3128, allocations: 3.938 kB / 0.4967 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3128, allocations: 4 kB / 0.4967 GB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3128, allocations: 4 kB / 0.4967 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.3129, allocations: 80.97 kB / 0.4968 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.3129, allocations: 77.11 kB / 0.4968 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3129, allocations: 4 kB / 0.4968 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.313, allocations: 0 / 0.4968 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.313, allocations: 3.938 kB / 0.4968 GB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.313, allocations: 4 kB / 0.4969 GB, free: 2.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.054e-05/0.313, allocations: 83.28 kB / 0.4969 GB, free: 2.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.313, allocations: 0 / 0.4969 GB, free: 2.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.3132, allocations: 4 kB / 0.4969 GB, free: 2.375 MB / 346.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 () * 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 8.959e-05/0.3133, allocations: 99.23 kB / 0.497 GB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.688e-05/0.3134, allocations: 16 kB / 0.497 GB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3134, allocations: 0 / 0.497 GB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3134, allocations: 0 / 0.497 GB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3136, allocations: 23.52 kB / 0.4971 GB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/0.3137, allocations: 71.91 kB / 0.4971 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3139, allocations: 0.6846 MB / 0.4978 GB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.314, allocations: 3.984 kB / 0.4978 GB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.314, allocations: 11.44 kB / 0.4978 GB, free: 1.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.863e-06/0.314, allocations: 0 / 0.4978 GB, free: 1.41 MB / 346.7 MB Notification: Performance of Templates: time 0.001763/0.3158, allocations: 320.2 kB / 0.4981 GB, free: 1.098 MB / 346.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/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