Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009004, allocations: 104 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002316, allocations: 4 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1767, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08278/0.2596, allocations: 76.89 MB / 486.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.2598, allocations: 75.94 kB / 486.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002249/0.2621, allocations: 0.8527 MB / 487.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.606e-06/0.2621, allocations: 3.984 kB / 487.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2621, allocations: 2.812 kB / 487.3 MB, free: 12.78 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.0003746/0.2625, allocations: 347.2 kB / 487.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2626, allocations: 16.02 kB / 487.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2626, allocations: 34.56 kB / 487.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2626, allocations: 7.906 kB / 487.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2628, allocations: 179 kB / 487.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2628, allocations: 3.781 kB / 487.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2628, allocations: 7.953 kB / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.2634, allocations: 163.2 kB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2634, allocations: 0 / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2634, allocations: 0 / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2634, allocations: 0 / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.2637, allocations: 54.22 kB / 488.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2638, allocations: 157.7 kB / 488.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2641, allocations: 90.5 kB / 488.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2641, allocations: 4 kB / 488.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2642, allocations: 42.45 kB / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2642, allocations: 0 / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004588/0.2646, allocations: 121.7 kB / 488.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2647, allocations: 59.34 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.2648, allocations: 97 kB / 488.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2648, allocations: 25.7 kB / 488.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2648, allocations: 88.12 kB / 488.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.2649, allocations: 8 kB / 488.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.2649, allocations: 0 / 488.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.265, allocations: 314.8 kB / 489.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.265, allocations: 4 kB / 489.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.265, allocations: 35.36 kB / 489.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.2651, allocations: 8 kB / 489.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2651, allocations: 0 / 489.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.028e-05/0.2652, allocations: 65.56 kB / 489.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2652, allocations: 4 kB / 489.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2652, allocations: 4 kB / 489.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2652, allocations: 4.078 kB / 489.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.2653, allocations: 15.94 kB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2653, allocations: 0 / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.2653, allocations: 11.97 kB / 489.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.2653, allocations: 4 kB / 489.3 MB, free: 10.61 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 8.382e-05/0.2654, allocations: 117.8 kB / 489.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.2657, allocations: 85.64 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2657, allocations: 7.906 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2657, allocations: 3.953 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2657, allocations: 0 / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2657, allocations: 4 kB / 489.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.644e-05/0.2658, allocations: 157.7 kB / 489.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2658, allocations: 4.219 kB / 489.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.266, allocations: 23.92 kB / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.266, allocations: 0 / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.266, allocations: 0 / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.266, allocations: 0 / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.266, allocations: 7.938 kB / 489.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2663, allocations: 121 kB / 489.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.2663, allocations: 77.11 kB / 489.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2664, allocations: 0 / 489.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.2664, allocations: 19.98 kB / 489.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.2665, allocations: 0 / 489.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2665, allocations: 0 / 489.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.2665, allocations: 91.53 kB / 490 MB, free: 9.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 490 MB, free: 9.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.2667, allocations: 8 kB / 490 MB, free: 9.785 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 0.0006729/0.2674, allocations: 0.6904 MB / 490.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2676, allocations: 47.84 kB / 490.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2676, allocations: 0 / 490.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.2676, allocations: 0 / 490.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2679, allocations: 50.22 kB / 490.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.2688, allocations: 0.8448 MB / 491.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2691, allocations: 0.6887 MB / 492.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.2691, allocations: 4 kB / 492.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.2691, allocations: 11.44 kB / 492.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.2691, allocations: 0 / 492.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.28, allocations: 1.239 MB / 493.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.2802, allocations: 198.1 kB / 493.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.364/1.644, allocations: 11.88 kB / 493.8 MB, free: 5.996 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat