Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 196.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.666/1.666, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009207/0.0009204, allocations: 105.1 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4408, allocations: 77.27 MB / 486.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4411, allocations: 76.48 kB / 486.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00335/0.4445, allocations: 1.156 MB / 487.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4445, allocations: 0 / 487.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4445, allocations: 0 / 487.9 MB, free: 13.04 MB / 362.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.0004003/0.445, allocations: 357.2 kB / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.445, allocations: 12.03 kB / 488.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.445, allocations: 4.844 kB / 488.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.4453, allocations: 180.3 kB / 488.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.4453, allocations: 384 / 488.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.4453, allocations: 8.375 kB / 488.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4457, allocations: 143.8 kB / 488.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4458, allocations: 4.188 kB / 488.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4458, allocations: 3.938 kB / 488.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4458, allocations: 3.938 kB / 488.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.4459, allocations: 47.95 kB / 488.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.4461, allocations: 157.7 kB / 488.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.4464, allocations: 102.5 kB / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4466, allocations: 40.84 kB / 488.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4466, allocations: 4 kB / 488.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4466, allocations: 30.56 kB / 489 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4466, allocations: 0 / 489 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003509/0.447, allocations: 129.4 kB / 489.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.447, allocations: 51.41 kB / 489.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.4471, allocations: 109.8 kB / 489.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4472, allocations: 25.7 kB / 489.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.4472, allocations: 84.14 kB / 489.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.4472, allocations: 0 / 489.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4472, allocations: 4 kB / 489.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4474, allocations: 314.8 kB / 489.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.4474, allocations: 7.984 kB / 489.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.4474, allocations: 27.44 kB / 489.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.4475, allocations: 35.38 kB / 489.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4475, allocations: 0 / 489.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.165e-05/0.4476, allocations: 53.62 kB / 489.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4476, allocations: 8 kB / 489.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.4476, allocations: 11.81 kB / 489.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4476, allocations: 0 / 489.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.4477, allocations: 12 kB / 489.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.4477, allocations: 0 / 489.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.4477, allocations: 19.95 kB / 489.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.4478, allocations: 0 / 489.8 MB, free: 10.84 MB / 362.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 () * 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 8.221e-05/0.4478, allocations: 113.8 kB / 489.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4481, allocations: 81.66 kB / 490 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.4481, allocations: 15.78 kB / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4481, allocations: 0 / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4481, allocations: 0 / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4481, allocations: 4 kB / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.4482, allocations: 157.7 kB / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4482, allocations: 0 / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.4483, allocations: 19.92 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4483, allocations: 4 kB / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4483, allocations: 3.938 kB / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4484, allocations: 0 / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4484, allocations: 4 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.4486, allocations: 109 kB / 490.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.4486, allocations: 81.09 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4487, allocations: 7.938 kB / 490.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.4487, allocations: 12 kB / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-06/0.4487, allocations: 0 / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4487, allocations: 0 / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.4488, allocations: 91.2 kB / 490.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4488, allocations: 0 / 490.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.449, allocations: 8 kB / 490.5 MB, free: 10.02 MB / 362.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 () * 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.000127/0.4491, allocations: 99.25 kB / 490.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.4493, allocations: 36.34 kB / 490.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4493, allocations: 0 / 490.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.4493, allocations: 0 / 490.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.4496, allocations: 54.59 kB / 490.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.4499, allocations: 120.3 kB / 490.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4502, allocations: 0.6848 MB / 491.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.7e-05/0.4503, allocations: 0 / 491.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.4503, allocations: 11.44 kB / 491.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4503, allocations: 0 / 491.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of Templates: time 0.0022/0.4525, allocations: 381.8 kB / 491.9 MB, free: 8.602 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches