Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001461, allocations: 202.5 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 226.5 MB / 245.4 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000747/0.0007471, allocations: 91.31 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.0002469, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08775/0.2974, allocations: 76.82 MB / 485.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.2977, allocations: 71.95 kB / 485.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002242/0.2999, allocations: 0.8609 MB / 486.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3, allocations: 0 / 486.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3, allocations: 0 / 486.4 MB, free: 13.86 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.0003797/0.3004, allocations: 347.4 kB / 486.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3004, allocations: 12.03 kB / 486.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.3005, allocations: 9.828 kB / 486.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3006, allocations: 176.3 kB / 486.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3007, allocations: 5.562 kB / 487 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3007, allocations: 4.375 kB / 487 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.3012, allocations: 166.3 kB / 487.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3012, allocations: 192 / 487.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3012, allocations: 7.938 kB / 487.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3013, allocations: 0 / 487.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3015, allocations: 47.94 kB / 487.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.3016, allocations: 164.1 kB / 487.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3019, allocations: 94.47 kB / 487.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3021, allocations: 36.88 kB / 487.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3021, allocations: 2.844 kB / 487.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3021, allocations: 30.56 kB / 487.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3021, allocations: 0 / 487.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004588/0.3026, allocations: 125.5 kB / 487.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3027, allocations: 59.39 kB / 487.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.3027, allocations: 109.8 kB / 487.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3027, allocations: 25.7 kB / 487.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.3028, allocations: 88.12 kB / 487.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3028, allocations: 0 / 487.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-06/0.3028, allocations: 4 kB / 487.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.3029, allocations: 314.8 kB / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.3029, allocations: 7.938 kB / 488.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.303, allocations: 35.42 kB / 488.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.303, allocations: 35.38 kB / 488.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.303, allocations: 0 / 488.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.851e-05/0.3031, allocations: 61.66 kB / 488.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3031, allocations: 8 kB / 488.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3031, allocations: 7.875 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3032, allocations: 4 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.3032, allocations: 11.94 kB / 488.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3032, allocations: 7.984 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.3033, allocations: 3.938 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3033, allocations: 4 kB / 488.4 MB, free: 11.65 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.032e-05/0.3033, allocations: 114 kB / 488.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.3036, allocations: 89.64 kB / 488.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3037, allocations: 11.84 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3037, allocations: 0 / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3037, allocations: 3.984 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3037, allocations: 0 / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.3038, allocations: 161.7 kB / 488.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3038, allocations: 0 / 488.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3039, allocations: 19.92 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3039, allocations: 240 / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3039, allocations: 3.938 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3039, allocations: 0 / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3039, allocations: 8 kB / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3042, allocations: 121 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.3043, allocations: 81.11 kB / 489 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3043, allocations: 3.938 kB / 489 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.3044, allocations: 7.984 kB / 489 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-06/0.3044, allocations: 0 / 489 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3044, allocations: 7.984 kB / 489 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.3045, allocations: 83.28 kB / 489.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 4 kB / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.3046, allocations: 4 kB / 489.1 MB, free: 10.83 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.945e-05/0.3047, allocations: 95.25 kB / 489.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3049, allocations: 51.89 kB / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.305, allocations: 0 / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.305, allocations: 3.938 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3053, allocations: 52.17 kB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.3057, allocations: 162.2 kB / 489.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3059, allocations: 0.6848 MB / 490.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3059, allocations: 15.42 kB / 490.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3059, allocations: 0 / 490.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of Templates: time 0.001871/0.3078, allocations: 0.6723 MB / 490.8 MB, free: 9.039 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches