Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009025/0.0009026, allocations: 176.6 kB / 8.35 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 88.69 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.559e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4439, allocations: 75.37 MB / 462.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4442, allocations: 75.95 kB / 463 MB, free: 3.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001586/0.4458, allocations: 0.7086 MB / 463.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4458, allocations: 0 / 463.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4458, allocations: 0 / 463.7 MB, free: 2.656 MB / 330.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.000284/0.4461, allocations: 331.3 kB / 464 MB, free: 2.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4461, allocations: 16.03 kB / 464.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.4462, allocations: 7.859 kB / 464.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4463, allocations: 167.1 kB / 464.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4464, allocations: 4 kB / 464.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.4464, allocations: 2.625 kB / 464.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.285e-05/0.4464, allocations: 12.75 kB / 464.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4466, allocations: 83.34 kB / 464.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4466, allocations: 0 / 464.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4466, allocations: 3.953 kB / 464.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4467, allocations: 4 kB / 464.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.4468, allocations: 130.2 kB / 464.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.4469, allocations: 42.5 kB / 464.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.4469, allocations: 16.89 kB / 464.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4469, allocations: 3.984 kB / 464.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.447, allocations: 38.56 kB / 464.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.447, allocations: 0 / 464.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001199/0.4471, allocations: 45.73 kB / 464.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4471, allocations: 59.34 kB / 464.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.4472, allocations: 96.94 kB / 464.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4472, allocations: 25.7 kB / 464.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.4473, allocations: 88.12 kB / 464.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.4473, allocations: 8 kB / 464.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.4473, allocations: 0 / 464.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4474, allocations: 319.5 kB / 465.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.4474, allocations: 0 / 465.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.4475, allocations: 23.44 kB / 465.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.4475, allocations: 15.98 kB / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4475, allocations: 0 / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.699e-05/0.4476, allocations: 49.58 kB / 465.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4476, allocations: 4 kB / 465.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4476, allocations: 0 / 465.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4476, allocations: 11.92 kB / 465.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.4477, allocations: 7.938 kB / 465.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4477, allocations: 4.859 kB / 465.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.4477, allocations: 4.062 kB / 465.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.4477, allocations: 4 kB / 465.3 MB, free: 0.8516 MB / 330.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 6.074e-05/0.4478, allocations: 108.9 kB / 465.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.229e-05/0.4479, allocations: 49.59 kB / 465.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.4479, allocations: 0 / 465.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.4479, allocations: 12.34 kB / 465.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4479, allocations: 0 / 465.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4479, allocations: 0 / 465.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4479, allocations: 0 / 465.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.564e-05/0.448, allocations: 138.2 kB / 465.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.448, allocations: 7.984 kB / 465.6 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.4481, allocations: 11.94 kB / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4481, allocations: 0 / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.4481, allocations: 0 / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4481, allocations: 0 / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4481, allocations: 0 / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.4482, allocations: 76.98 kB / 465.7 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.4482, allocations: 77.11 kB / 465.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.4483, allocations: 4 kB / 465.8 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.4483, allocations: 7.984 kB / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.4483, allocations: 0 / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4483, allocations: 0 / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.732e-05/0.4484, allocations: 84.53 kB / 465.9 MB, free: 200 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4484, allocations: 0 / 465.9 MB, free: 200 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.4486, allocations: 4 kB / 465.9 MB, free: 196 kB / 330.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.0003294/0.4489, allocations: 0.6162 MB / 466.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.449, allocations: 15.98 kB / 466.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.449, allocations: 0 / 466.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.449, allocations: 0 / 466.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.4492, allocations: 17.62 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.4494, allocations: 97.61 kB / 466.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.4496, allocations: 0.6848 MB / 467.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.4496, allocations: 7.984 kB / 467.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.4497, allocations: 7.438 kB / 467.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4497, allocations: 0 / 467.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.4667, allocations: 0.7196 MB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.467, allocations: 157.1 kB / 468.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.397/1.864, allocations: 1.375 kB / 468.2 MB, free: 13.75 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat