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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 108.3 kB / 17.7 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 183.8 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009821/0.0009822, allocations: 39.92 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3185, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002896/0.3215, allocations: 1.445 MB / 402.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.3217, allocations: 39.84 kB / 402.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.3218, allocations: 4 kB / 402.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.3219, allocations: 0 / 402.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.3219, allocations: 3.938 kB / 402.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3222, allocations: 27.91 kB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.3223, allocations: 23.98 kB / 402.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3224, allocations: 8 kB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.3225, allocations: 15.92 kB / 402.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3225, allocations: 19.91 kB / 402.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3226, allocations: 4 kB / 402.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-06/0.3226, allocations: 4 kB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.3226, allocations: 4 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3226, allocations: 15.88 kB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3228, allocations: 31.83 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3228, allocations: 0 / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3228, allocations: 0 / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3228, allocations: 0 / 403 MB, free: 7.246 MB / 318.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.0005377/0.3233, allocations: 344.9 kB / 403.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3234, allocations: 12.03 kB / 403.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3234, allocations: 0.9375 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3237, allocations: 187.9 kB / 403.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3237, allocations: 4.312 kB / 403.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3237, allocations: 12.31 kB / 403.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.3241, allocations: 111.9 kB / 403.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3241, allocations: 4.172 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3242, allocations: 7.875 kB / 403.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3242, allocations: 8 kB / 403.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3243, allocations: 15.98 kB / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.3245, allocations: 165.7 kB / 403.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3247, allocations: 58.53 kB / 403.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.3248, allocations: 24.92 kB / 403.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3248, allocations: 4 kB / 403.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3248, allocations: 34.56 kB / 404 MB, free: 6.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.386e-06/0.3248, allocations: 0 / 404 MB, free: 6.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000309/0.3251, allocations: 85.53 kB / 404.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.3252, allocations: 55.31 kB / 404.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.3253, allocations: 109.8 kB / 404.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.3254, allocations: 25.7 kB / 404.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.3254, allocations: 84.14 kB / 404.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.3254, allocations: 4 kB / 404.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3255, allocations: 25.7 kB / 404.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3256, allocations: 310.8 kB / 404.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.3256, allocations: 8 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.3257, allocations: 35.36 kB / 404.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.429e-05/0.3258, allocations: 35.44 kB / 404.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3258, allocations: 0 / 404.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.232e-05/0.3259, allocations: 61.56 kB / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3259, allocations: 4 kB / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3259, allocations: 3.938 kB / 404.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.326, allocations: 4 kB / 404.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.326, allocations: 8 kB / 404.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.326, allocations: 4.125 kB / 404.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.3261, allocations: 3.938 kB / 404.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3261, allocations: 8 kB / 404.8 MB, free: 5.164 MB / 318.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: 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 7.868e-05/0.3262, allocations: 109.8 kB / 404.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.3263, allocations: 73.5 kB / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.3263, allocations: 7.844 kB / 405 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3264, allocations: 4 kB / 405 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3264, allocations: 0 / 405 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3264, allocations: 0 / 405 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3265, allocations: 157.7 kB / 405.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3265, allocations: 3.984 kB / 405.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.3265, allocations: 8 kB / 405.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3266, allocations: 4.312 kB / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3266, allocations: 7.938 kB / 405.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3266, allocations: 4 kB / 405.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3266, allocations: 0 / 405.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.3268, allocations: 93.03 kB / 405.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3268, allocations: 89.02 kB / 405.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3268, allocations: 3.938 kB / 405.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.178e-05/0.3269, allocations: 4 kB / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.3269, allocations: 288 / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3269, allocations: 3.984 kB / 405.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.3269, allocations: 83.28 kB / 405.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.327, allocations: 0 / 405.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.3272, allocations: 4 kB / 405.5 MB, free: 4.406 MB / 318.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: 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.0001007/0.3273, allocations: 111.4 kB / 405.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3274, allocations: 35.89 kB / 405.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3274, allocations: 0 / 405.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3274, allocations: 0 / 405.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3277, allocations: 27.98 kB / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.328, allocations: 143.3 kB / 405.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3283, allocations: 0.6805 MB / 406.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3283, allocations: 15.67 kB / 406.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3283, allocations: 4 kB / 406.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of Templates: time 0.001904/0.3302, allocations: 0.6273 MB / 407.1 MB, free: 2.703 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches