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.000911/0.000911, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009226, allocations: 86.17 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.985e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09798, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.4029, allocations: 75.37 MB / 462.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4031, allocations: 79.89 kB / 462.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001611/0.4048, allocations: 0.7102 MB / 463.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4048, allocations: 0 / 463.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4048, allocations: 0 / 463.6 MB, free: 2.695 MB / 330.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.0002767/0.4051, allocations: 330.1 kB / 463.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4051, allocations: 8.031 kB / 463.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.4052, allocations: 13.73 kB / 464 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4053, allocations: 175 kB / 464.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4053, allocations: 0 / 464.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.4054, allocations: 4 kB / 464.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.241e-05/0.4054, allocations: 11.94 kB / 464.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4056, allocations: 83.34 kB / 464.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.4056, allocations: 0 / 464.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.4056, allocations: 3.953 kB / 464.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4056, allocations: 4 kB / 464.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.4058, allocations: 138.2 kB / 464.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.4058, allocations: 30.58 kB / 464.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.4059, allocations: 16.89 kB / 464.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.4059, allocations: 0 / 464.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4059, allocations: 42.7 kB / 464.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4059, allocations: 4 kB / 464.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001231/0.4061, allocations: 45.53 kB / 464.5 MB, free: 1.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4061, allocations: 59.41 kB / 464.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.4062, allocations: 92.98 kB / 464.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4062, allocations: 25.7 kB / 464.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.4062, allocations: 88.14 kB / 464.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.4063, allocations: 0 / 464.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.4063, allocations: 0 / 464.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.4064, allocations: 322.8 kB / 465.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.4064, allocations: 4 kB / 465.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.4064, allocations: 31.45 kB / 465.1 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.685e-05/0.4064, allocations: 9.031 kB / 465.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4064, allocations: 0 / 465.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.622e-05/0.4065, allocations: 53.56 kB / 465.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4065, allocations: 9.562 kB / 465.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4065, allocations: 0.7031 kB / 465.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4066, allocations: 0 / 465.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.4066, allocations: 8 kB / 465.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.4066, allocations: 3.938 kB / 465.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.4067, allocations: 3.906 kB / 465.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4067, allocations: 4 kB / 465.2 MB, free: 0.8945 MB / 330.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 () * 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 6.329e-05/0.4067, allocations: 113.1 kB / 465.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.4068, allocations: 49.62 kB / 465.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.4068, allocations: 8.281 kB / 465.4 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.4068, allocations: 4 kB / 465.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4068, allocations: 0 / 465.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4069, allocations: 0 / 465.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.22e-05/0.4069, allocations: 146.1 kB / 465.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4069, allocations: 0 / 465.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.407, allocations: 8 kB / 465.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.407, allocations: 0 / 465.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.407, allocations: 4 kB / 465.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.407, allocations: 0 / 465.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.407, allocations: 0 / 465.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.4071, allocations: 69.12 kB / 465.6 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.4071, allocations: 84.97 kB / 465.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4072, allocations: 3.984 kB / 465.7 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.4072, allocations: 4 kB / 465.7 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.4072, allocations: 0 / 465.7 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4072, allocations: 4.25 kB / 465.7 MB, free: 324 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.4073, allocations: 87.28 kB / 465.8 MB, free: 236 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4073, allocations: 0 / 465.8 MB, free: 236 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.4075, allocations: 4 kB / 465.8 MB, free: 232 kB / 330.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 () * 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 9.045e-05/0.4076, allocations: 99.19 kB / 465.9 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.752e-05/0.4076, allocations: 19.98 kB / 465.9 MB, free: 104 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4077, allocations: 3.938 kB / 465.9 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.4077, allocations: 256 / 465.9 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.4078, allocations: 23.92 kB / 465.9 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.408, allocations: 64.02 kB / 466 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4083, allocations: 0.6807 MB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.343e-05/0.4083, allocations: 0 / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.4084, allocations: 11.44 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4084, allocations: 0 / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of Templates: time 0.002046/0.4104, allocations: 278.1 kB / 467 MB, free: 15 MB / 346.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/jenkins/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