Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009915, allocations: 180.7 kB / 16.38 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.411/1.411, 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.0008631/0.0008631, allocations: 102.7 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3865, allocations: 76.53 MB / 478 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3868, allocations: 84.7 kB / 478.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002878/0.3897, allocations: 1.097 MB / 479.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3897, allocations: 0 / 479.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.3897, allocations: 0 / 479.2 MB, free: 2.809 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.0004481/0.3902, allocations: 363.2 kB / 479.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3902, allocations: 8.031 kB / 479.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3903, allocations: 7.859 kB / 479.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3905, allocations: 171.1 kB / 479.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3905, allocations: 7.984 kB / 479.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3905, allocations: 4 kB / 479.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.391, allocations: 143.2 kB / 479.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.391, allocations: 0 / 479.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3911, allocations: 8 kB / 479.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3911, allocations: 3.984 kB / 479.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3913, allocations: 47.92 kB / 479.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3915, allocations: 161.6 kB / 480.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3918, allocations: 102.5 kB / 480.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3918, allocations: 4 kB / 480.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3919, allocations: 30.56 kB / 480.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3919, allocations: 0 / 480.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004228/0.3923, allocations: 121.7 kB / 480.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3924, allocations: 51.41 kB / 480.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.3925, allocations: 100.9 kB / 480.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3925, allocations: 29.69 kB / 480.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3925, allocations: 84.14 kB / 480.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.3926, allocations: 0 / 480.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.3926, allocations: 4 kB / 480.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3927, allocations: 322.7 kB / 480.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.3927, allocations: 4 kB / 480.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.3928, allocations: 27.61 kB / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.3928, allocations: 8 kB / 481 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3928, allocations: 4 kB / 481 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.347e-05/0.3929, allocations: 57.62 kB / 481 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3929, allocations: 4 kB / 481 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3929, allocations: 96 / 481 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3929, allocations: 7.984 kB / 481 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.393, allocations: 7.938 kB / 481.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.393, allocations: 0 / 481.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.393, allocations: 4 kB / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.393, allocations: 0 / 481.1 MB, free: 0.7188 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 () * 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.669e-05/0.3931, allocations: 121.9 kB / 481.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.3933, allocations: 85.56 kB / 481.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.3934, allocations: 11.89 kB / 481.3 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3934, allocations: 4 kB / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3934, allocations: 0 / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3934, allocations: 0 / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3935, allocations: 173.5 kB / 481.4 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3935, allocations: 0 / 481.4 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.3936, allocations: 15.98 kB / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3936, allocations: 0 / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3936, allocations: 0 / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3936, allocations: 0 / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3936, allocations: 0 / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3939, allocations: 113 kB / 481.6 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.3939, allocations: 84.95 kB / 481.7 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3939, allocations: 8 kB / 481.7 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.394, allocations: 7.984 kB / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-06/0.394, allocations: 160 / 481.7 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.394, allocations: 11.88 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.3941, allocations: 91.27 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3941, allocations: 0 / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00017/0.3943, allocations: 4 kB / 481.8 MB, free: 15.89 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.0001104/0.3944, allocations: 99.19 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.3945, allocations: 39.97 kB / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3945, allocations: 0 / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3945, allocations: 0 / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3949, allocations: 43.91 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.3952, allocations: 125 kB / 482.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3955, allocations: 0.6848 MB / 482.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.3955, allocations: 4 kB / 482.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.3955, allocations: 7.438 kB / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3955, allocations: 0 / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Templates: time 0.002076/0.3976, allocations: 372.4 kB / 483.1 MB, free: 14.48 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches