Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.00146, allocations: 111.7 kB / 17.06 MB, free: 6 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.001665/0.001665, allocations: 194.9 kB / 18 MB, free: 5.078 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.519/1.519, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009176/0.0009176, allocations: 39.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4049, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003713/0.4087, allocations: 1.429 MB / 402.1 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004775/0.4092, allocations: 103.6 kB / 402.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4094, allocations: 7.938 kB / 402.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.4095, allocations: 3.938 kB / 402.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.4095, allocations: 0 / 402.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.4099, allocations: 19.92 kB / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.4101, allocations: 35.84 kB / 402.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4102, allocations: 11.98 kB / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.4103, allocations: 11.98 kB / 402.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.4104, allocations: 3.938 kB / 402.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.4104, allocations: 7.938 kB / 402.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.4104, allocations: 4 kB / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.4105, allocations: 11.98 kB / 402.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.4105, allocations: 11.94 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.4107, allocations: 27.89 kB / 402.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4107, allocations: 0 / 402.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.17e-05/0.4107, allocations: 4 kB / 402.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4107, allocations: 3.938 kB / 402.4 MB, free: 7.18 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.0007106/0.4114, allocations: 339.3 kB / 402.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.4115, allocations: 15.88 kB / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.4116, allocations: 4.938 kB / 402.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.412, allocations: 180.2 kB / 402.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.412, allocations: 4.375 kB / 402.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4121, allocations: 4.375 kB / 402.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.4125, allocations: 99.88 kB / 403 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4126, allocations: 4.188 kB / 403 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.4126, allocations: 3.938 kB / 403.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4126, allocations: 0 / 403.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.4127, allocations: 19.98 kB / 403.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.4129, allocations: 161.7 kB / 403.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4131, allocations: 54.56 kB / 403.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.4132, allocations: 24.86 kB / 403.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.4132, allocations: 0 / 403.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4133, allocations: 38.55 kB / 403.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4133, allocations: 0 / 403.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.4136, allocations: 73.52 kB / 403.4 MB, free: 6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.4137, allocations: 59.34 kB / 403.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4138, allocations: 105.8 kB / 403.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4138, allocations: 29.7 kB / 403.6 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.4139, allocations: 84.14 kB / 403.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.4139, allocations: 4 kB / 403.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4139, allocations: 13.72 kB / 403.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4141, allocations: 318.8 kB / 404 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.4141, allocations: 7.938 kB / 404 MB, free: 5.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.4141, allocations: 27.44 kB / 404.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.4142, allocations: 31.38 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4142, allocations: 0 / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.455e-05/0.4143, allocations: 53.62 kB / 404.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4144, allocations: 12.12 kB / 404.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4144, allocations: 3.938 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.4144, allocations: 288 / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.4145, allocations: 15.94 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4145, allocations: 3.984 kB / 404.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.4145, allocations: 9.203 kB / 404.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.4146, allocations: 0 / 404.2 MB, free: 5.16 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001097/0.4147, allocations: 109.8 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4148, allocations: 65.58 kB / 404.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.4148, allocations: 11.83 kB / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4149, allocations: 4 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4149, allocations: 0 / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4149, allocations: 0 / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.415, allocations: 153.7 kB / 404.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.415, allocations: 0 / 404.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.4151, allocations: 15.92 kB / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4151, allocations: 0 / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4151, allocations: 7.938 kB / 404.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4151, allocations: 256 / 404.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4151, allocations: 4 kB / 404.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4152, allocations: 85.11 kB / 404.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.4153, allocations: 88.95 kB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.4153, allocations: 3.938 kB / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.4154, allocations: 0 / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.4154, allocations: 0 / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4154, allocations: 4 kB / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.4154, allocations: 91.27 kB / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4154, allocations: 0 / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.4156, allocations: 4 kB / 404.8 MB, free: 4.414 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001351/0.4158, allocations: 99.19 kB / 404.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.4159, allocations: 27.92 kB / 404.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4159, allocations: 0 / 404.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4159, allocations: 0 / 404.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.4162, allocations: 28.17 kB / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.4165, allocations: 117.6 kB / 405.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4168, allocations: 0.6844 MB / 405.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.339e-05/0.4169, allocations: 3.938 kB / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.4169, allocations: 11.44 kB / 405.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.4169, allocations: 0 / 405.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of Templates: time 0.003265/0.4202, allocations: 324.5 kB / 406.1 MB, free: 3.07 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches