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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001567, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.598/1.598, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0008449/0.0008449, allocations: 96.88 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 16 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3014, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.4037, allocations: 76.13 MB / 478.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.4041, allocations: 76.67 kB / 479 MB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001821/0.4059, allocations: 0.7077 MB / 479.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4059, allocations: 0.625 kB / 479.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4059, allocations: 0 / 479.7 MB, free: 3.434 MB / 346.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.0003911/0.4063, allocations: 340.1 kB / 480 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4064, allocations: 8.031 kB / 480 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.4064, allocations: 8.922 kB / 480 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.4067, allocations: 176.2 kB / 480.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4067, allocations: 12.36 kB / 480.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4067, allocations: 384 / 480.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.407, allocations: 114.8 kB / 480.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4071, allocations: 192 / 480.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4071, allocations: 3.938 kB / 480.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4071, allocations: 6.5 kB / 480.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.4072, allocations: 15.98 kB / 480.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.4073, allocations: 153.7 kB / 480.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4075, allocations: 63.08 kB / 480.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.4076, allocations: 24.92 kB / 480.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4076, allocations: 0 / 480.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.4076, allocations: 42.5 kB / 480.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4077, allocations: 0 / 480.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002183/0.4079, allocations: 85.5 kB / 480.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.4079, allocations: 59.39 kB / 480.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.408, allocations: 97.86 kB / 480.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4081, allocations: 25.7 kB / 480.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.4081, allocations: 92.12 kB / 481 MB, free: 1.938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.4081, allocations: 0 / 481 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.4081, allocations: 4 kB / 481 MB, free: 1.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4083, allocations: 314.8 kB / 481.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.4083, allocations: 4 kB / 481.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.4083, allocations: 31.36 kB / 481.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.4084, allocations: 43.31 kB / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4084, allocations: 0 / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.247e-05/0.4084, allocations: 53.62 kB / 481.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4085, allocations: 4 kB / 481.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4085, allocations: 7.875 kB / 481.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4085, allocations: 0 / 481.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.4086, allocations: 8 kB / 481.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4086, allocations: 4.125 kB / 481.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.4086, allocations: 8 kB / 481.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.4086, allocations: 0 / 481.4 MB, free: 1.426 MB / 346.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/0.4087, allocations: 117.7 kB / 481.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4088, allocations: 65.58 kB / 481.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.4089, allocations: 11.84 kB / 481.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4089, allocations: 0 / 481.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4089, allocations: 4 kB / 481.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4089, allocations: 0 / 481.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.409, allocations: 157.7 kB / 481.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.409, allocations: 0 / 481.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.4091, allocations: 8 kB / 481.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4091, allocations: 0 / 481.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4091, allocations: 3.938 kB / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4091, allocations: 256 / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4091, allocations: 0 / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4093, allocations: 93.05 kB / 481.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.4093, allocations: 89.02 kB / 482 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4093, allocations: 7.938 kB / 482 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.589e-05/0.4094, allocations: 7.984 kB / 482 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.4094, allocations: 0 / 482 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4094, allocations: 0 / 482 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.4094, allocations: 83.28 kB / 482.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.694e-06/0.4094, allocations: 0 / 482.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.4096, allocations: 11.94 kB / 482.1 MB, free: 0.668 MB / 346.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.4098, allocations: 95.25 kB / 482.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4099, allocations: 27.92 kB / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4099, allocations: 0 / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4099, allocations: 0 / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4101, allocations: 28.23 kB / 482.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.4104, allocations: 120.7 kB / 482.4 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4107, allocations: 0.6853 MB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.4108, allocations: 0 / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.4108, allocations: 7.438 kB / 483 MB, free: 15.65 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4108, allocations: 7.938 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.001859/0.4127, allocations: 286.7 kB / 483.3 MB, free: 15.36 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches