Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, 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.569/1.569, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001078/0.001078, allocations: 100.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009783/0.0009784, allocations: 35.94 kB / 350 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3463, allocations: 49.44 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002547/0.3489, allocations: 1.503 MB / 401 MB, free: 31.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.3491, allocations: 39.84 kB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.3492, allocations: 0 / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.606e-05/0.3493, allocations: 0 / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.3494, allocations: 3.938 kB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.3497, allocations: 19.97 kB / 401 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3497, allocations: 29.11 kB / 401.1 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3499, allocations: 8 kB / 401.1 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.3499, allocations: 19.92 kB / 401.1 MB, free: 31.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.35, allocations: 11.92 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.35, allocations: 4 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.35, allocations: 0 / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.35, allocations: 11.92 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.3501, allocations: 11.94 kB / 401.1 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3502, allocations: 23.91 kB / 401.2 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3502, allocations: 0 / 401.2 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3502, allocations: 0 / 401.2 MB, free: 31.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3502, allocations: 0 / 401.2 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.000423/0.3506, allocations: 349 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3507, allocations: 8.031 kB / 401.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3507, allocations: 8.844 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3509, allocations: 180.2 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3509, allocations: 384 / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.351, allocations: 8.375 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3513, allocations: 127.8 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3514, allocations: 4.188 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3514, allocations: 7.922 kB / 401.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3514, allocations: 0 / 401.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3515, allocations: 23.97 kB / 401.9 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3517, allocations: 157.7 kB / 402 MB, free: 30.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3519, allocations: 54.48 kB / 402.1 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.352, allocations: 28.92 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.352, allocations: 7.984 kB / 402.1 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.352, allocations: 30.56 kB / 402.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3521, allocations: 0 / 402.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003058/0.3524, allocations: 85.5 kB / 402.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.3524, allocations: 55.34 kB / 402.3 MB, free: 30.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.3525, allocations: 105.8 kB / 402.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3526, allocations: 25.7 kB / 402.4 MB, free: 30.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.3526, allocations: 88.14 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3526, allocations: 4 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3527, allocations: 21.66 kB / 402.5 MB, free: 30.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.3528, allocations: 314.8 kB / 402.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.3528, allocations: 12 kB / 402.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3528, allocations: 27.44 kB / 402.9 MB, free: 29.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.3529, allocations: 39.75 kB / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3529, allocations: 0 / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.578e-05/0.353, allocations: 61.53 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.353, allocations: 4 kB / 403 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.353, allocations: 11.94 kB / 403 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.353, allocations: 4.125 kB / 403 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.3531, allocations: 15.92 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3532, allocations: 0 / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.3532, allocations: 4 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3532, allocations: 7.938 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: 2 ($CLKPRE.step.counter,step.counter) * 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 0.0001288/0.3533, allocations: 113.8 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3535, allocations: 61.67 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.3535, allocations: 11.84 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3535, allocations: 0 / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3535, allocations: 4 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3535, allocations: 3.984 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.298e-05/0.3536, allocations: 153.7 kB / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3536, allocations: 0 / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.3537, allocations: 15.92 kB / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3537, allocations: 0 / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3537, allocations: 7.938 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.3537, allocations: 4 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3537, allocations: 0 / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.3541, allocations: 0.6631 MB / 404 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.3542, allocations: 77.11 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3542, allocations: 0 / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/0.3543, allocations: 7.984 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.3543, allocations: 0 / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.3543, allocations: 0 / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.3543, allocations: 87.28 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 0 / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.3546, allocations: 8 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: 1 (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.0001337/0.3548, allocations: 99.23 kB / 404.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.3549, allocations: 31.92 kB / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3549, allocations: 4 kB / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.3549, allocations: 0 / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3554, allocations: 35.89 kB / 404.4 MB, free: 28.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3558, allocations: 238.4 kB / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3559, allocations: 0.6809 MB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.356, allocations: 3.984 kB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.356, allocations: 15.38 kB / 405.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of SimCode: time 1.81e-07/0.356, allocations: 0 / 405.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of Templates: time 0.002354/0.3583, allocations: 422 kB / 405.7 MB, free: 26.67 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches