Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 188.9 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.563/1.563, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001091/0.001091, allocations: 97.73 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008/0.0008003, allocations: 39.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3046, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003091/0.3077, allocations: 1.478 MB / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001837/0.308, allocations: 31.91 kB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.3081, allocations: 0 / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.3081, allocations: 7.938 kB / 401 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.3081, allocations: 1.938 kB / 401 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3084, allocations: 19.98 kB / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.3085, allocations: 27.92 kB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3086, allocations: 11.98 kB / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.3087, allocations: 14.94 kB / 401.1 MB, free: 31.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.3087, allocations: 11.92 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3088, allocations: 4 kB / 401.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.3088, allocations: 0 / 401.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.3088, allocations: 4 kB / 401.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.3088, allocations: 11.88 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.3089, allocations: 31.88 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3089, allocations: 4 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.309, allocations: 3.219 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.309, allocations: 0 / 401.1 MB, free: 31.71 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.0004007/0.3094, allocations: 341 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3094, allocations: 8.031 kB / 401.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3094, allocations: 8.844 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3096, allocations: 180.2 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3096, allocations: 384 / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3096, allocations: 8.375 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.31, allocations: 123.8 kB / 401.8 MB, free: 30.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.31, allocations: 192 / 401.8 MB, free: 30.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.31, allocations: 3.938 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.31, allocations: 0 / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3102, allocations: 23.98 kB / 401.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.3103, allocations: 165.6 kB / 402 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3104, allocations: 62.47 kB / 402 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.3105, allocations: 24.92 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3105, allocations: 0 / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3106, allocations: 30.56 kB / 402.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3106, allocations: 0 / 402.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002661/0.3108, allocations: 85.5 kB / 402.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3109, allocations: 67.34 kB / 402.2 MB, free: 30.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.311, allocations: 105.8 kB / 402.3 MB, free: 30.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.311, allocations: 25.7 kB / 402.4 MB, free: 30.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.311, allocations: 84.14 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.311, allocations: 3.984 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.3111, allocations: 17.72 kB / 402.5 MB, free: 30.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.3111, allocations: 322.8 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.3111, allocations: 4 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.3112, allocations: 35.42 kB / 402.8 MB, free: 29.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.3112, allocations: 35.38 kB / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3112, allocations: 0 / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.415e-05/0.3113, allocations: 65.53 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3113, allocations: 8 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3113, allocations: 3.938 kB / 402.9 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3113, allocations: 0 / 402.9 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.3114, allocations: 11.94 kB / 403 MB, free: 29.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3114, allocations: 7.984 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.3114, allocations: 3.984 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3114, allocations: 4 kB / 403 MB, free: 29.62 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 5.515e-05/0.3115, allocations: 117.9 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3116, allocations: 61.67 kB / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3117, allocations: 12.22 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3117, allocations: 0 / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3117, allocations: 0 / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3117, allocations: 7.938 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.3118, allocations: 161.7 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3118, allocations: 0 / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.3119, allocations: 11.94 kB / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3119, allocations: 0 / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3119, allocations: 11.92 kB / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3119, allocations: 0 / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3119, allocations: 0 / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.3123, allocations: 0.659 MB / 404 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3123, allocations: 81.02 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3123, allocations: 4 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.3123, allocations: 4.281 kB / 404.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-06/0.3123, allocations: 7.984 kB / 404.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.3124, allocations: 0 / 404.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.3124, allocations: 83.28 kB / 404.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 404.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.3127, allocations: 4 kB / 404.2 MB, free: 28.26 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 0.0001074/0.3128, allocations: 100.2 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3129, allocations: 39.97 kB / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3129, allocations: 0 / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.3129, allocations: 3.938 kB / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3133, allocations: 31.92 kB / 404.4 MB, free: 28.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.3136, allocations: 230.2 kB / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3137, allocations: 0.6809 MB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.3138, allocations: 8.188 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.3138, allocations: 11.38 kB / 405.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3138, allocations: 0 / 405.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of Templates: time 0.002482/0.3163, allocations: 423.3 kB / 405.7 MB, free: 26.67 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches