Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 177.1 kB / 8.348 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.513/1.513, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009124/0.0009123, allocations: 94.19 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.434e-05/1.436e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09256, allocations: 50.42 MB / 387.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/0.393, allocations: 75.38 MB / 462.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.3933, allocations: 73.73 kB / 462.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001629/0.3949, allocations: 0.7093 MB / 463.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3949, allocations: 0 / 463.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.395, allocations: 0 / 463.6 MB, free: 2.75 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.0003062/0.3953, allocations: 327.4 kB / 463.9 MB, free: 2.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3953, allocations: 12.02 kB / 464 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3954, allocations: 12.48 kB / 464 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3956, allocations: 168.3 kB / 464.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3956, allocations: 3.984 kB / 464.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3956, allocations: 4 kB / 464.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.368e-05/0.3957, allocations: 6.625 kB / 464.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3959, allocations: 92.19 kB / 464.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3959, allocations: 0 / 464.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.3959, allocations: 3.953 kB / 464.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.3959, allocations: 0 / 464.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.396, allocations: 142.2 kB / 464.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.3961, allocations: 38.56 kB / 464.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.3962, allocations: 20.89 kB / 464.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3962, allocations: 0 / 464.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3962, allocations: 38.56 kB / 464.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3962, allocations: 0 / 464.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001654/0.3964, allocations: 45.73 kB / 464.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3964, allocations: 59.34 kB / 464.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.3965, allocations: 97 kB / 464.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3966, allocations: 25.7 kB / 464.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.3966, allocations: 92.12 kB / 464.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.3966, allocations: 0 / 464.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3966, allocations: 0 / 464.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3967, allocations: 318.8 kB / 465.1 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.3967, allocations: 4 kB / 465.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.3968, allocations: 27.44 kB / 465.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.3968, allocations: 11.98 kB / 465.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3968, allocations: 0 / 465.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.427e-05/0.3969, allocations: 46.39 kB / 465.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3969, allocations: 11.94 kB / 465.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3969, allocations: 0 / 465.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3969, allocations: 0 / 465.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.397, allocations: 15.92 kB / 465.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.397, allocations: 4.125 kB / 465.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.397, allocations: 3.938 kB / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.397, allocations: 4 kB / 465.2 MB, free: 0.9375 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: 0 () * 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 5.582e-05/0.3971, allocations: 108.9 kB / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.3972, allocations: 49.59 kB / 465.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.3972, allocations: 4.344 kB / 465.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3972, allocations: 0 / 465.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3972, allocations: 4 kB / 465.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3972, allocations: 0 / 465.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.3973, allocations: 138.2 kB / 465.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3973, allocations: 4 kB / 465.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.3974, allocations: 11.92 kB / 465.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3974, allocations: 4 kB / 465.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.3974, allocations: 0 / 465.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.3974, allocations: 3.984 kB / 465.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3974, allocations: 0 / 465.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.429e-05/0.3975, allocations: 65.12 kB / 465.6 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.3975, allocations: 92.97 kB / 465.7 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.3975, allocations: 0 / 465.7 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.918e-05/0.3976, allocations: 4.234 kB / 465.7 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.3976, allocations: 0 / 465.7 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3976, allocations: 7.984 kB / 465.7 MB, free: 368 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.3976, allocations: 83.53 kB / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3976, allocations: 0 / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.3978, allocations: 4 kB / 465.8 MB, free: 280 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: 0 () * 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 8.794e-05/0.3979, allocations: 103.2 kB / 465.9 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.398, allocations: 19.94 kB / 465.9 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.398, allocations: 0 / 465.9 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.398, allocations: 0 / 465.9 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3981, allocations: 13.09 kB / 465.9 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/0.3983, allocations: 69.92 kB / 466 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3985, allocations: 0.6846 MB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.329e-05/0.3986, allocations: 8.188 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.3986, allocations: 11.44 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3986, allocations: 0 / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of Templates: time 0.001677/0.4003, allocations: 265.7 kB / 467 MB, free: 15.06 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches