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.001824/0.001824, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 95.45 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.125e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4386, allocations: 76.16 MB / 471.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4389, allocations: 75.19 kB / 471.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002511/0.4414, allocations: 0.8552 MB / 472.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4414, allocations: 0 / 472.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4415, allocations: 0 / 472.4 MB, free: 14.23 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.0004568/0.4419, allocations: 338 kB / 472.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.442, allocations: 12.03 kB / 472.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.442, allocations: 6.75 kB / 472.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4422, allocations: 175.9 kB / 472.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.4423, allocations: 8.5 kB / 472.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.4423, allocations: 0 / 472.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/0.4424, allocations: 20.12 kB / 472.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.4427, allocations: 106.4 kB / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4427, allocations: 0 / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4428, allocations: 0 / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4428, allocations: 4 kB / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.4429, allocations: 145.7 kB / 473.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4431, allocations: 42.89 kB / 473.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4431, allocations: 19.48 kB / 473.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4431, allocations: 4 kB / 473.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4432, allocations: 32.16 kB / 473.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4432, allocations: 0 / 473.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.4434, allocations: 63.16 kB / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4434, allocations: 52.53 kB / 473.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.4435, allocations: 97.81 kB / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.4435, allocations: 25.7 kB / 473.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.4435, allocations: 88.94 kB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.4436, allocations: 4 kB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.4436, allocations: 0 / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.4437, allocations: 313.5 kB / 473.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.4437, allocations: 7.312 kB / 473.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.4437, allocations: 27.06 kB / 473.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.4437, allocations: 16.2 kB / 473.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4437, allocations: 0 / 473.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.221e-05/0.4438, allocations: 55.83 kB / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4439, allocations: 10.94 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4439, allocations: 0.5 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4439, allocations: 0 / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.444, allocations: 9.031 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.444, allocations: 3.953 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.444, allocations: 8.938 kB / 474 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.444, allocations: 1.219 kB / 474 MB, free: 12.5 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * 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 6.767e-05/0.4441, allocations: 111.9 kB / 474.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.127e-05/0.4442, allocations: 52.83 kB / 474.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.4442, allocations: 9.297 kB / 474.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.4442, allocations: 11.8 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4442, allocations: 6.188 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4442, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4442, allocations: 1.875 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.274e-05/0.4443, allocations: 140.7 kB / 474.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4443, allocations: 0 / 474.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4444, allocations: 12.83 kB / 474.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4445, allocations: 4 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4445, allocations: 1.5 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4445, allocations: 0 / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4445, allocations: 3.953 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.4446, allocations: 81.17 kB / 474.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.4446, allocations: 85.05 kB / 474.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4446, allocations: 5.547 kB / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.4447, allocations: 6.859 kB / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.4447, allocations: 0 / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4448, allocations: 1.5 kB / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.4448, allocations: 95.36 kB / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4448, allocations: 2.156 kB / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.445, allocations: 4 kB / 474.6 MB, free: 11.86 MB / 346.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 () * 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.000316/0.4453, allocations: 0.627 MB / 475.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.4454, allocations: 20.75 kB / 475.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4454, allocations: 4 kB / 475.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.4454, allocations: 0 / 475.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4457, allocations: 20.33 kB / 475.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.446, allocations: 108.1 kB / 475.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.4461, allocations: 0.6836 MB / 476.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.4462, allocations: 8.234 kB / 476.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.4462, allocations: 12.61 kB / 476.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4462, allocations: 0 / 476.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.4673, allocations: 0.9285 MB / 477 MB, free: 9.832 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.4675, allocations: 156 kB / 477.2 MB, free: 9.641 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.978, allocations: 0.5 kB / 477.2 MB, free: 9.641 MB / 346.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