Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007523, allocations: 92.59 kB / 297.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002407, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2511, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08509/0.3363, allocations: 77.26 MB / 485.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.3366, allocations: 75.95 kB / 486 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003189/0.3398, allocations: 1.151 MB / 487.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3398, allocations: 0.7812 kB / 487.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3398, allocations: 4 kB / 487.2 MB, free: 13.12 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.0004022/0.3402, allocations: 349.4 kB / 487.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3403, allocations: 8.031 kB / 487.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.3403, allocations: 12.84 kB / 487.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3405, allocations: 184.2 kB / 487.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3406, allocations: 384 / 487.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3406, allocations: 8.359 kB / 487.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.341, allocations: 147.8 kB / 487.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3411, allocations: 192 / 487.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3411, allocations: 3.938 kB / 487.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3411, allocations: 3.984 kB / 487.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3413, allocations: 47.95 kB / 487.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3415, allocations: 161.7 kB / 488.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3417, allocations: 98.45 kB / 488.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3419, allocations: 44.84 kB / 488.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3419, allocations: 4 kB / 488.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3419, allocations: 34.56 kB / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3419, allocations: 0 / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003703/0.3423, allocations: 121.4 kB / 488.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3424, allocations: 51.41 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.3425, allocations: 105.8 kB / 488.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3425, allocations: 25.7 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.3425, allocations: 88.14 kB / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.3426, allocations: 3.984 kB / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.3426, allocations: 0 / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3427, allocations: 318.8 kB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.3427, allocations: 4 kB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.3428, allocations: 31.42 kB / 489 MB, free: 11.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.3428, allocations: 35.38 kB / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3428, allocations: 0 / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.3429, allocations: 57.62 kB / 489.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3429, allocations: 4 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3429, allocations: 3.938 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.343, allocations: 4 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.343, allocations: 7.938 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.343, allocations: 0 / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.3431, allocations: 11.84 kB / 489.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.3431, allocations: 4.125 kB / 489.1 MB, free: 10.93 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.491e-05/0.3432, allocations: 113.8 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.3434, allocations: 81.66 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.3434, allocations: 11.83 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3434, allocations: 8 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3434, allocations: 3.938 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3435, allocations: 4 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3436, allocations: 157.7 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3436, allocations: 0 / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.3437, allocations: 15.94 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3437, allocations: 0 / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3437, allocations: 3.938 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.3437, allocations: 3.984 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3437, allocations: 3.938 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.344, allocations: 121.3 kB / 489.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.344, allocations: 77.11 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.344, allocations: 3.938 kB / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.3441, allocations: 15.98 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-06/0.3441, allocations: 0 / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3441, allocations: 0 / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.3442, allocations: 91.58 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.354e-06/0.3442, allocations: 0 / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.3444, allocations: 7.938 kB / 489.8 MB, free: 10.11 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.0001392/0.3445, allocations: 103.2 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3447, allocations: 35.98 kB / 489.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3447, allocations: 0 / 489.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.3447, allocations: 0 / 489.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3451, allocations: 44.75 kB / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3455, allocations: 150.4 kB / 490.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3458, allocations: 0.6809 MB / 490.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3458, allocations: 7.438 kB / 490.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3458, allocations: 4 kB / 490.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of Templates: time 0.002048/0.3479, allocations: 0.6024 MB / 491.4 MB, free: 8.434 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches