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.001797/0.001797, allocations: 112 kB / 17.73 MB, free: 5.207 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.0022/0.0022, allocations: 183.1 kB / 18.67 MB, free: 4.281 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.553/1.553, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 55.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3203, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003257/0.3236, allocations: 1.46 MB / 402.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.3238, allocations: 35.84 kB / 402.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.3239, allocations: 0 / 402.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.3239, allocations: 3.938 kB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.324, allocations: 3.938 kB / 402.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3243, allocations: 27.91 kB / 402.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3244, allocations: 27.92 kB / 403 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3245, allocations: 8 kB / 403 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.3245, allocations: 15.92 kB / 403 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.3246, allocations: 11.94 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3246, allocations: 0 / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.3246, allocations: 4 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.3247, allocations: 15.91 kB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.3247, allocations: 11.94 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3248, allocations: 23.91 kB / 403.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3248, allocations: 0 / 403.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3248, allocations: 4 kB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3248, allocations: 0 / 403.1 MB, free: 7.234 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.0005872/0.3254, allocations: 351.2 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3255, allocations: 8.031 kB / 403.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3255, allocations: 8.922 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.3258, allocations: 176.3 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3258, allocations: 12.36 kB / 403.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3258, allocations: 4.312 kB / 403.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3262, allocations: 123.8 kB / 403.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3262, allocations: 192 / 403.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3262, allocations: 3.938 kB / 403.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3262, allocations: 0 / 403.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3264, allocations: 27.97 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3266, allocations: 157.7 kB / 403.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3268, allocations: 62.52 kB / 404 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.3268, allocations: 24.89 kB / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.3269, allocations: 0 / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3269, allocations: 30.56 kB / 404 MB, free: 6.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3269, allocations: 0 / 404 MB, free: 6.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003359/0.3272, allocations: 85.55 kB / 404.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3273, allocations: 51.41 kB / 404.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3274, allocations: 109.8 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3274, allocations: 29.64 kB / 404.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.3274, allocations: 88.14 kB / 404.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3275, allocations: 0 / 404.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3275, allocations: 17.72 kB / 404.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3277, allocations: 314.8 kB / 404.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.3277, allocations: 8 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.3277, allocations: 31.44 kB / 404.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.568e-05/0.3278, allocations: 39.36 kB / 404.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3278, allocations: 0 / 404.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.042e-05/0.3279, allocations: 61.58 kB / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3279, allocations: 7.984 kB / 404.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3279, allocations: 8.125 kB / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3279, allocations: 0 / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.328, allocations: 8 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.328, allocations: 3.938 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.328, allocations: 16.19 kB / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.328, allocations: 8 kB / 404.9 MB, free: 5.145 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 9.946e-05/0.3281, allocations: 114 kB / 405 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3283, allocations: 65.67 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3283, allocations: 15.83 kB / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3283, allocations: 0 / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3283, allocations: 0 / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3283, allocations: 0 / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3284, allocations: 153.7 kB / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3284, allocations: 0 / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.3285, allocations: 11.98 kB / 405.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.3285, allocations: 3.938 kB / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3285, allocations: 7.938 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3285, allocations: 4 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3285, allocations: 0 / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3287, allocations: 97.05 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.3288, allocations: 77.11 kB / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3288, allocations: 3.938 kB / 405.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.3288, allocations: 4 kB / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-06/0.3288, allocations: 0 / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3288, allocations: 0 / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.3289, allocations: 95.27 kB / 405.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 405.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.3291, allocations: 4 kB / 405.5 MB, free: 4.391 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.0001284/0.3292, allocations: 99.98 kB / 405.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3293, allocations: 31.91 kB / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3294, allocations: 0 / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.3294, allocations: 0 / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3296, allocations: 43.25 kB / 405.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.33, allocations: 113.6 kB / 405.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3304, allocations: 0.6844 MB / 406.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.604e-05/0.3304, allocations: 3.984 kB / 406.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.3304, allocations: 15.38 kB / 406.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3304, allocations: 0 / 406.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of Templates: time 0.002891/0.3333, allocations: 435.9 kB / 407 MB, free: 2.926 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 -s gbode -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