Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.4/1.4, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009676/0.0009677, allocations: 87.89 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002792, allocations: 8 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.291, allocations: 50.42 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3966, allocations: 76.11 MB / 477.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.397, allocations: 75.95 kB / 477.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001652/0.3986, allocations: 0.675 MB / 478.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3986, allocations: 1.25 kB / 478.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.3987, allocations: 4 kB / 478.4 MB, free: 3.641 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.0003496/0.399, allocations: 326.9 kB / 478.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3991, allocations: 8.031 kB / 478.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.3991, allocations: 7.953 kB / 478.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3993, allocations: 175 kB / 478.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3994, allocations: 2.812 kB / 478.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3994, allocations: 4 kB / 478.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3997, allocations: 106.3 kB / 479 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3997, allocations: 0 / 479 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3997, allocations: 4 kB / 479 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3997, allocations: 0 / 479 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.3998, allocations: 19.94 kB / 479 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.4, allocations: 153.7 kB / 479.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.4001, allocations: 61.56 kB / 479.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4001, allocations: 0 / 479.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4002, allocations: 30.56 kB / 479.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4002, allocations: 3.938 kB / 479.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000201/0.4004, allocations: 65.84 kB / 479.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4005, allocations: 67.34 kB / 479.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.4006, allocations: 101 kB / 479.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4006, allocations: 25.7 kB / 479.5 MB, free: 2.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4006, allocations: 80.14 kB / 479.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.4006, allocations: 4 kB / 479.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.4006, allocations: 0 / 479.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4008, allocations: 318.8 kB / 479.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.4008, allocations: 4 kB / 479.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.4009, allocations: 35.42 kB / 479.9 MB, free: 1.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.4009, allocations: 4 kB / 479.9 MB, free: 1.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4009, allocations: 0 / 479.9 MB, free: 1.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.689e-05/0.401, allocations: 61.5 kB / 480 MB, free: 1.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.401, allocations: 8.125 kB / 480 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.401, allocations: 0 / 480 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.401, allocations: 4 kB / 480 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.4011, allocations: 0 / 480 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4011, allocations: 4 kB / 480 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.4011, allocations: 3.906 kB / 480 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4011, allocations: 4 kB / 480 MB, free: 1.766 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 0.000144/0.4013, allocations: 117.7 kB / 480.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4014, allocations: 61.62 kB / 480.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.4014, allocations: 11.48 kB / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4014, allocations: 0 / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4014, allocations: 0 / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4015, allocations: 0 / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.4016, allocations: 157.6 kB / 480.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4016, allocations: 0 / 480.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.4016, allocations: 0 / 480.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4016, allocations: 4 kB / 480.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4016, allocations: 0 / 480.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4016, allocations: 0 / 480.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4016, allocations: 7.984 kB / 480.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4018, allocations: 81.08 kB / 480.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.4018, allocations: 81.02 kB / 480.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.4019, allocations: 0 / 480.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.637e-05/0.4019, allocations: 8 kB / 480.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-06/0.4019, allocations: 3.938 kB / 480.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4019, allocations: 0 / 480.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.402, allocations: 91.52 kB / 480.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.402, allocations: 0 / 480.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.4022, allocations: 7.938 kB / 480.6 MB, free: 1.039 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.0001242/0.4023, allocations: 99.25 kB / 480.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.4024, allocations: 24.36 kB / 480.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4024, allocations: 3.938 kB / 480.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.4024, allocations: 256 / 480.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.4026, allocations: 30.84 kB / 480.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.4029, allocations: 112.9 kB / 480.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4032, allocations: 0.685 MB / 481.6 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.4032, allocations: 8 kB / 481.6 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.4032, allocations: 7.438 kB / 481.6 MB, free: 12 kB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4032, allocations: 4 kB / 481.6 MB, free: 8 kB / 346.7 MB Notification: Performance of Templates: time 0.002157/0.4054, allocations: 276.2 kB / 481.9 MB, free: 15.74 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches