Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001903, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 104.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008382/0.0008382, allocations: 31.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3067, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002428/0.3092, allocations: 1.468 MB / 400.9 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.3094, allocations: 23.94 kB / 401 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.3094, allocations: 3.938 kB / 401 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.3095, allocations: 3.984 kB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.3095, allocations: 0 / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3098, allocations: 23.98 kB / 401 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.3098, allocations: 27.92 kB / 401 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.3099, allocations: 11.5 kB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.31, allocations: 15.91 kB / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.31, allocations: 15.92 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3101, allocations: 0 / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3101, allocations: 0 / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.3101, allocations: 4 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.3101, allocations: 15.88 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.482e-05/0.3102, allocations: 27.89 kB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3102, allocations: 3.984 kB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3102, allocations: 0 / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.3102, allocations: 1.562 kB / 401.1 MB, free: 31.72 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.0003538/0.3106, allocations: 333.1 kB / 401.4 MB, free: 31.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3106, allocations: 12.03 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.3107, allocations: 4.938 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3108, allocations: 184.2 kB / 401.6 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3108, allocations: 8.359 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.3109, allocations: 384 / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3112, allocations: 115.8 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3112, allocations: 192 / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3112, allocations: 3.938 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3112, allocations: 8 kB / 401.8 MB, free: 30.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.3113, allocations: 19.98 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.511e-05/0.3114, allocations: 157.7 kB / 402 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.3116, allocations: 50.5 kB / 402 MB, free: 30.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.3116, allocations: 24.92 kB / 402 MB, free: 30.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3116, allocations: 0 / 402 MB, free: 30.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.3117, allocations: 34.56 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3117, allocations: 0 / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002235/0.3119, allocations: 81.53 kB / 402.1 MB, free: 30.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3119, allocations: 63.31 kB / 402.2 MB, free: 30.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.312, allocations: 97.86 kB / 402.3 MB, free: 30.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.312, allocations: 25.7 kB / 402.3 MB, free: 30.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.312, allocations: 88.12 kB / 402.4 MB, free: 30.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3121, allocations: 4 kB / 402.4 MB, free: 30.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3121, allocations: 21.66 kB / 402.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.3122, allocations: 322.8 kB / 402.7 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.3122, allocations: 7.984 kB / 402.8 MB, free: 29.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.3122, allocations: 27.44 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.3122, allocations: 39.38 kB / 402.8 MB, free: 29.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3122, allocations: 0 / 402.8 MB, free: 29.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.516e-05/0.3123, allocations: 61.62 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3123, allocations: 4 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3123, allocations: 7.938 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3124, allocations: 0 / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.3124, allocations: 7.938 kB / 402.9 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3124, allocations: 8.094 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.3124, allocations: 12.28 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.3125, allocations: 0 / 402.9 MB, free: 29.67 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 4.879e-05/0.3125, allocations: 117.8 kB / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3126, allocations: 57.67 kB / 403.1 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.3127, allocations: 11.44 kB / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3127, allocations: 4.172 kB / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3127, allocations: 8 kB / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3127, allocations: 0 / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.52e-05/0.3127, allocations: 165.6 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3127, allocations: 0 / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.3128, allocations: 0 / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3128, allocations: 4 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3128, allocations: 3.938 kB / 403.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3128, allocations: 0 / 403.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3128, allocations: 0 / 403.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3131, allocations: 0.6551 MB / 403.9 MB, free: 28.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.3131, allocations: 77.11 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3131, allocations: 4 kB / 404 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.3132, allocations: 0 / 404 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-06/0.3132, allocations: 0 / 404 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3132, allocations: 11.94 kB / 404 MB, free: 28.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.151e-05/0.3132, allocations: 83.27 kB / 404.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3132, allocations: 0 / 404.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.3135, allocations: 4 kB / 404.1 MB, free: 28.32 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.045e-05/0.3136, allocations: 103.2 kB / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3137, allocations: 27.92 kB / 404.2 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3137, allocations: 0 / 404.2 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3137, allocations: 3.938 kB / 404.2 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.314, allocations: 27.92 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.3143, allocations: 238.4 kB / 404.5 MB, free: 27.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.699e-05/0.3144, allocations: 0.6809 MB / 405.2 MB, free: 27.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.385e-05/0.3144, allocations: 0 / 405.2 MB, free: 27.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.3144, allocations: 7.438 kB / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3144, allocations: 0 / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of Templates: time 0.00195/0.3164, allocations: 367.3 kB / 405.6 MB, free: 26.81 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches