Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008408/0.0008409, allocations: 98.69 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.443e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09766, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.4022, allocations: 76.17 MB / 471.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4026, allocations: 77.52 kB / 471.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002437/0.405, allocations: 0.7002 MB / 472.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4051, allocations: 3.938 kB / 472.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4051, allocations: 3.562 kB / 472.1 MB, free: 14.54 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.0003084/0.4054, allocations: 328.7 kB / 472.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4055, allocations: 11.09 kB / 472.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.4055, allocations: 8.453 kB / 472.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.4057, allocations: 170.6 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4058, allocations: 2.453 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.4058, allocations: 8 kB / 472.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.866e-05/0.4059, allocations: 10.61 kB / 472.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.4062, allocations: 82.8 kB / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4062, allocations: 0 / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4062, allocations: 0 / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4062, allocations: 0 / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.4063, allocations: 145.6 kB / 472.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4065, allocations: 42.52 kB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.4065, allocations: 21.36 kB / 472.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4066, allocations: 0 / 472.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4066, allocations: 34.56 kB / 473 MB, free: 13.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.4066, allocations: 0 / 473 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.4068, allocations: 48.34 kB / 473 MB, free: 13.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4068, allocations: 55.41 kB / 473.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.4069, allocations: 98.22 kB / 473.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.407, allocations: 29.64 kB / 473.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.407, allocations: 87.52 kB / 473.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.407, allocations: 1.594 kB / 473.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.407, allocations: 0 / 473.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.4071, allocations: 318.7 kB / 473.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.4071, allocations: 4 kB / 473.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.4072, allocations: 27.44 kB / 473.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.4072, allocations: 9.469 kB / 473.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4073, allocations: 0 / 473.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001062/0.4074, allocations: 47.14 kB / 473.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4074, allocations: 12.03 kB / 473.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4074, allocations: 1.734 kB / 473.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4075, allocations: 0 / 473.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.4076, allocations: 11.95 kB / 473.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4076, allocations: 3.938 kB / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.4076, allocations: 4.453 kB / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4077, allocations: 4 kB / 473.7 MB, free: 12.84 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: 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 6.157e-05/0.4077, allocations: 105 kB / 473.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.4078, allocations: 47.31 kB / 473.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.4079, allocations: 9.797 kB / 473.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4079, allocations: 4 kB / 473.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4079, allocations: 3.953 kB / 473.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4079, allocations: 0.6562 kB / 473.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.396e-05/0.408, allocations: 134.8 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.408, allocations: 0 / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.4081, allocations: 9.5 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4082, allocations: 0 / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4082, allocations: 3.828 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4082, allocations: 0 / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4082, allocations: 7.938 kB / 474 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.4083, allocations: 71.52 kB / 474.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4084, allocations: 85.72 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4084, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.4085, allocations: 6.156 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.4085, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4085, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.4086, allocations: 88.36 kB / 474.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4086, allocations: 0 / 474.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.4089, allocations: 4 kB / 474.3 MB, free: 12.23 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: 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 0.000104/0.4091, allocations: 95.86 kB / 474.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.4092, allocations: 21 kB / 474.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4092, allocations: 0 / 474.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.4092, allocations: 1.781 kB / 474.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4095, allocations: 23.92 kB / 474.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.4097, allocations: 62.44 kB / 474.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4099, allocations: 0.6825 MB / 475.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.4099, allocations: 1.172 kB / 475.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.41, allocations: 14 kB / 475.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.41, allocations: 0 / 475.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of Templates: time 0.00301/0.413, allocations: 277.6 kB / 475.5 MB, free: 11.15 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches