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.001725/0.001725, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.4 MB / 235.5 MB, free: 2.918 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.0008834/0.000883, allocations: 91.59 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.14e-05, allocations: 0 / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 50.42 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4071, allocations: 76.04 MB / 470.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4073, allocations: 81.56 kB / 470.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001743/0.4091, allocations: 0.6976 MB / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4091, allocations: 0 / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4091, allocations: 0 / 471.2 MB, free: 10.62 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.0003129/0.4095, allocations: 335.3 kB / 471.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4095, allocations: 12.03 kB / 471.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.4095, allocations: 38.52 kB / 471.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.4096, allocations: 3.906 kB / 471.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4097, allocations: 175 kB / 471.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4098, allocations: 3.938 kB / 471.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4098, allocations: 10.62 kB / 471.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.41, allocations: 91.33 kB / 471.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.41, allocations: 0 / 471.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.41, allocations: 0 / 471.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.41, allocations: 3.953 kB / 471.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.4101, allocations: 15.98 kB / 471.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.4102, allocations: 157.6 kB / 472 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/0.4103, allocations: 42.66 kB / 472 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.4103, allocations: 24.88 kB / 472.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4104, allocations: 0 / 472.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4104, allocations: 30.56 kB / 472.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.4104, allocations: 0 / 472.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001309/0.4105, allocations: 49.59 kB / 472.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4106, allocations: 59.36 kB / 472.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.4107, allocations: 93 kB / 472.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.4107, allocations: 33.7 kB / 472.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.4107, allocations: 84.14 kB / 472.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.4107, allocations: 0 / 472.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.4107, allocations: 0 / 472.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4109, allocations: 318.8 kB / 472.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.4109, allocations: 7.938 kB / 472.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.4109, allocations: 23.44 kB / 472.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.4109, allocations: 12 kB / 472.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4109, allocations: 0 / 472.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.022e-05/0.411, allocations: 57.56 kB / 472.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.411, allocations: 8 kB / 472.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.411, allocations: 0 / 472.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4111, allocations: 4.375 kB / 472.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.4111, allocations: 11.94 kB / 472.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4111, allocations: 7.984 kB / 472.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.4112, allocations: 11.89 kB / 472.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.4112, allocations: 0 / 472.9 MB, free: 8.699 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 6.43e-05/0.4112, allocations: 101 kB / 473 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.4113, allocations: 53.61 kB / 473 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.4114, allocations: 8.016 kB / 473 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4114, allocations: 192 / 473 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4114, allocations: 4 kB / 473 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4114, allocations: 3.984 kB / 473 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.4115, allocations: 157.6 kB / 473.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4115, allocations: 0 / 473.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.4115, allocations: 15.92 kB / 473.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4115, allocations: 0 / 473.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4116, allocations: 4 kB / 473.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4116, allocations: 0 / 473.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4116, allocations: 0 / 473.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.463e-05/0.4117, allocations: 81.08 kB / 473.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.4117, allocations: 81.02 kB / 473.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4117, allocations: 0 / 473.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.994e-05/0.4118, allocations: 7.938 kB / 473.4 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.4118, allocations: 3.984 kB / 473.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4118, allocations: 0 / 473.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.4119, allocations: 87.28 kB / 473.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4119, allocations: 0 / 473.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.412, allocations: 0 / 473.5 MB, free: 8.004 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.0003359/0.4124, allocations: 0.6202 MB / 474.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.921e-05/0.4125, allocations: 15.94 kB / 474.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4125, allocations: 0 / 474.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.4125, allocations: 0 / 474.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4126, allocations: 20.23 kB / 474.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.4129, allocations: 98.61 kB / 474.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4131, allocations: 0.6809 MB / 474.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.242e-05/0.4131, allocations: 3.984 kB / 474.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.4131, allocations: 15.44 kB / 474.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4131, allocations: 0 / 474.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.424, allocations: 1.016 MB / 475.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.4242, allocations: 170.2 kB / 476.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.396/1.82, allocations: 4 kB / 476.1 MB, free: 5.352 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