Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 196.9 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.313/1.313, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009752/0.0009752, allocations: 91.14 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.155e-05, allocations: 4 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.4338, allocations: 77.27 MB / 479.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4341, allocations: 82.08 kB / 479.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.437, allocations: 1.148 MB / 480.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.437, allocations: 0 / 480.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.437, allocations: 0 / 480.6 MB, free: 11.11 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.0003037/0.4373, allocations: 362.2 kB / 481 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4373, allocations: 8.031 kB / 481 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.4374, allocations: 30.56 kB / 481 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.4374, allocations: 8.406 kB / 481 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4375, allocations: 172.3 kB / 481.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.4376, allocations: 4.859 kB / 481.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.4376, allocations: 0 / 481.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.4378, allocations: 113.3 kB / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4378, allocations: 0 / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.4378, allocations: 0 / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4378, allocations: 1.172 kB / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.4379, allocations: 11.88 kB / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.742e-05/0.438, allocations: 161.5 kB / 481.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.4381, allocations: 42.08 kB / 481.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.4381, allocations: 32.27 kB / 481.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.4382, allocations: 0.6094 kB / 481.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.4382, allocations: 38.45 kB / 481.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.4382, allocations: 0 / 481.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001279/0.4383, allocations: 53.77 kB / 481.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.4384, allocations: 51.41 kB / 481.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/0.4384, allocations: 97.95 kB / 481.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.4384, allocations: 25.7 kB / 481.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.4384, allocations: 92.08 kB / 481.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-06/0.4385, allocations: 0 / 481.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.4385, allocations: 0 / 481.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.4385, allocations: 318 kB / 482.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.4385, allocations: 7.875 kB / 482.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.4385, allocations: 28.22 kB / 482.2 MB, free: 9.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.4386, allocations: 8 kB / 482.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4386, allocations: 0 / 482.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.962e-05/0.4386, allocations: 62.19 kB / 482.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4387, allocations: 8 kB / 482.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.4387, allocations: 3.953 kB / 482.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4387, allocations: 0 / 482.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.117e-05/0.4387, allocations: 8 kB / 482.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4387, allocations: 12.05 kB / 482.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.4388, allocations: 2.75 kB / 482.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4388, allocations: 4 kB / 482.4 MB, free: 9.246 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: 0 () * Number of discrete 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 3.976e-05/0.4388, allocations: 104.9 kB / 482.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.4389, allocations: 53.25 kB / 482.5 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.4389, allocations: 7.969 kB / 482.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4389, allocations: 3.953 kB / 482.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4389, allocations: 4.562 kB / 482.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4389, allocations: 0 / 482.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.147e-05/0.439, allocations: 161.5 kB / 482.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.439, allocations: 0.5625 kB / 482.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.4391, allocations: 21.23 kB / 482.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4391, allocations: 0 / 482.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4391, allocations: 0 / 482.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4391, allocations: 1.625 kB / 482.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4391, allocations: 3.953 kB / 482.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/0.4392, allocations: 81.62 kB / 482.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.4392, allocations: 81.11 kB / 482.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4393, allocations: 0 / 482.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.4393, allocations: 19.8 kB / 482.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-06/0.4393, allocations: 0.5625 kB / 482.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4393, allocations: 3.953 kB / 482.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.4394, allocations: 81 kB / 483 MB, free: 8.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4394, allocations: 0 / 483 MB, free: 8.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.4396, allocations: 11.88 kB / 483 MB, free: 8.555 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: 0 () * 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.0002407/0.4398, allocations: 0.6186 MB / 483.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.4399, allocations: 24.55 kB / 483.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4399, allocations: 0 / 483.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.4399, allocations: 256 / 483.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.4401, allocations: 23.86 kB / 483.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.4403, allocations: 97.67 kB / 483.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.4404, allocations: 0.6887 MB / 484.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.4405, allocations: 0 / 484.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.4405, allocations: 11.38 kB / 484.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4405, allocations: 0 / 484.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.4521, allocations: 1.116 MB / 485.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.4523, allocations: 177.4 kB / 485.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.958, allocations: 3.312 kB / 485.7 MB, free: 5.906 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat does not exist to compare? outputFormat=mat