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.001547/0.001547, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001085, allocations: 91.52 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.009e-05, allocations: 3.984 kB / 350.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4977, allocations: 76.82 MB / 479 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.498, allocations: 73.33 kB / 479 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003146/0.5012, allocations: 0.858 MB / 479.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5013, allocations: 0 / 479.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5013, allocations: 0 / 479.9 MB, free: 11.74 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.0004477/0.5018, allocations: 344 kB / 480.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.5018, allocations: 8.031 kB / 480.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.5019, allocations: 40.97 kB / 480.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.5019, allocations: 4.031 kB / 480.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.5021, allocations: 175.7 kB / 480.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.5022, allocations: 8.672 kB / 480.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.5022, allocations: 4 kB / 480.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.5025, allocations: 109.1 kB / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5025, allocations: 1.5 kB / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5026, allocations: 0 / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5026, allocations: 0 / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.5027, allocations: 18.62 kB / 480.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.5028, allocations: 169.2 kB / 480.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.503, allocations: 44.44 kB / 480.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.503, allocations: 23.58 kB / 480.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.5031, allocations: 0 / 480.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.5031, allocations: 35.08 kB / 480.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.5031, allocations: 0 / 480.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.5033, allocations: 63.86 kB / 480.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5034, allocations: 59.3 kB / 481 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.5035, allocations: 97.08 kB / 481.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5035, allocations: 29.7 kB / 481.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.5035, allocations: 82.58 kB / 481.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.5036, allocations: 0.7812 kB / 481.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5036, allocations: 2.875 kB / 481.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.5037, allocations: 318.8 kB / 481.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.5037, allocations: 7.062 kB / 481.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.5037, allocations: 30.56 kB / 481.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.5038, allocations: 4 kB / 481.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5038, allocations: 3.938 kB / 481.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.5039, allocations: 68.03 kB / 481.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5039, allocations: 4 kB / 481.6 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.5039, allocations: 9.203 kB / 481.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.504, allocations: 0 / 481.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.504, allocations: 11.98 kB / 481.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5041, allocations: 0 / 481.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.5041, allocations: 0 / 481.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.5041, allocations: 4.5 kB / 481.6 MB, free: 9.875 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.565e-05/0.5042, allocations: 121.2 kB / 481.7 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.5043, allocations: 49.88 kB / 481.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.5043, allocations: 11.28 kB / 481.8 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5044, allocations: 3.953 kB / 481.8 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5044, allocations: 0.625 kB / 481.8 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5044, allocations: 0 / 481.8 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.636e-05/0.5045, allocations: 160.7 kB / 482 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5045, allocations: 3.984 kB / 482 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.5046, allocations: 20.86 kB / 482 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5047, allocations: 0 / 482 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5047, allocations: 3.5 kB / 482 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5047, allocations: 4 kB / 482 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5047, allocations: 3.953 kB / 482 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.5048, allocations: 84.17 kB / 482.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.5049, allocations: 81.02 kB / 482.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5049, allocations: 4.734 kB / 482.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.505, allocations: 14.3 kB / 482.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.505, allocations: 0 / 482.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.505, allocations: 3.953 kB / 482.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.5051, allocations: 92.78 kB / 482.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5051, allocations: 0 / 482.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000326/0.5054, allocations: 4 kB / 482.3 MB, free: 9.168 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.0003951/0.5058, allocations: 0.629 MB / 482.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.506, allocations: 25.94 kB / 482.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.506, allocations: 0 / 482.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.506, allocations: 3.984 kB / 482.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5063, allocations: 24.16 kB / 483 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.5067, allocations: 110 kB / 483.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.5069, allocations: 0.6862 MB / 483.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.5069, allocations: 4.25 kB / 483.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.507, allocations: 15.12 kB / 483.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.507, allocations: 1.406 kB / 483.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.5217, allocations: 1.235 MB / 485 MB, free: 6.617 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.5219, allocations: 173.4 kB / 485.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/1.903, allocations: 4.062 kB / 485.2 MB, free: 6.387 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