Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001201, allocations: 197.2 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.368/1.368, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 94.28 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.77e-05/4.8e-05, allocations: 0 / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.4107, allocations: 76.84 MB / 479 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.4109, allocations: 73.5 kB / 479 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00136/0.4123, allocations: 0.7053 MB / 479.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4123, allocations: 4.781 kB / 479.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.4123, allocations: 0 / 479.8 MB, free: 11.86 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.0002094/0.4126, allocations: 333.4 kB / 480.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4126, allocations: 12.02 kB / 480.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.4126, allocations: 34.56 kB / 480.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.4127, allocations: 6.656 kB / 480.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4128, allocations: 172.5 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4128, allocations: 4 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.4128, allocations: 3.188 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.4131, allocations: 93.78 kB / 480.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4131, allocations: 6.312 kB / 480.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.4131, allocations: 4 kB / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4131, allocations: 0 / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.4131, allocations: 7.25 kB / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.471e-05/0.4132, allocations: 160.6 kB / 480.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.4133, allocations: 41.02 kB / 480.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.4134, allocations: 19.89 kB / 480.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4134, allocations: 12.64 kB / 480.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.4134, allocations: 34.56 kB / 480.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4134, allocations: 0 / 480.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001152/0.4135, allocations: 42.11 kB / 480.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4136, allocations: 63.36 kB / 480.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.4136, allocations: 97.62 kB / 480.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-06/0.4137, allocations: 25.7 kB / 480.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/0.4137, allocations: 80.14 kB / 481 MB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.4137, allocations: 8 kB / 481 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.4137, allocations: 3.312 kB / 481 MB, free: 10.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.4138, allocations: 314.8 kB / 481.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.4138, allocations: 4 kB / 481.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.4138, allocations: 27.5 kB / 481.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.52e-05/0.4138, allocations: 8 kB / 481.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4138, allocations: 0 / 481.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.885e-05/0.4139, allocations: 57.84 kB / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4139, allocations: 7.953 kB / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4139, allocations: 4.5 kB / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4139, allocations: 1.594 kB / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.414, allocations: 10.5 kB / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.414, allocations: 4.125 kB / 481.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.414, allocations: 12.53 kB / 481.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.414, allocations: 4 kB / 481.4 MB, free: 10.04 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.412e-05/0.4141, allocations: 105 kB / 481.5 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.4141, allocations: 47.94 kB / 481.6 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.4141, allocations: 11.42 kB / 481.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4141, allocations: 7.984 kB / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4142, allocations: 0.6094 kB / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4142, allocations: 0 / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.061e-05/0.4142, allocations: 153.9 kB / 481.8 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4142, allocations: 4 kB / 481.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.4143, allocations: 8 kB / 481.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4143, allocations: 3.984 kB / 481.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4143, allocations: 0.5 kB / 481.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4143, allocations: 4.656 kB / 481.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4143, allocations: 1.406 kB / 481.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.238e-05/0.4144, allocations: 72.14 kB / 481.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.4144, allocations: 90.28 kB / 481.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.4144, allocations: 0 / 481.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.4145, allocations: 7.562 kB / 481.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-06/0.4145, allocations: 7.953 kB / 482 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.4145, allocations: 0.75 kB / 482 MB, free: 9.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.082e-05/0.4145, allocations: 83.77 kB / 482 MB, free: 9.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4145, allocations: 0 / 482 MB, free: 9.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.4147, allocations: 7.438 kB / 482 MB, free: 9.367 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.0001994/0.4149, allocations: 0.6049 MB / 482.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.415, allocations: 19 kB / 482.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.415, allocations: 3.938 kB / 482.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.415, allocations: 0 / 482.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.4151, allocations: 19.52 kB / 482.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.4153, allocations: 107.6 kB / 482.8 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.4154, allocations: 0.6848 MB / 483.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.167e-05/0.4154, allocations: 4 kB / 483.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.4155, allocations: 10.56 kB / 483.5 MB, free: 7.855 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4155, allocations: 0 / 483.5 MB, free: 7.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.4281, allocations: 1.018 MB / 484.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.4284, allocations: 170.6 kB / 484.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.88, allocations: 0 / 484.7 MB, free: 6.832 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat