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.001688/0.001688, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.477/1.477, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 97.86 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003403, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08982/0.3252, allocations: 76.12 MB / 477.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3255, allocations: 76.48 kB / 477.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001658/0.3271, allocations: 0.7059 MB / 478.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3272, allocations: 0.8438 kB / 478.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3272, allocations: 4 kB / 478.5 MB, free: 3.547 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.0003358/0.3275, allocations: 340.7 kB / 478.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3276, allocations: 8.031 kB / 478.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3276, allocations: 42.52 kB / 478.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3277, allocations: 3.984 kB / 478.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3278, allocations: 174.9 kB / 479 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3278, allocations: 15.98 kB / 479.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3279, allocations: 0 / 479.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.3282, allocations: 104.4 kB / 479.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3282, allocations: 0 / 479.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3282, allocations: 0 / 479.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3282, allocations: 9.172 kB / 479.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.3283, allocations: 19.98 kB / 479.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3284, allocations: 161.6 kB / 479.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3286, allocations: 62.48 kB / 479.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3286, allocations: 0 / 479.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3286, allocations: 38.69 kB / 479.4 MB, free: 2.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3287, allocations: 4.031 kB / 479.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.3289, allocations: 69.67 kB / 479.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3289, allocations: 59.34 kB / 479.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.329, allocations: 96.95 kB / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.329, allocations: 29.7 kB / 479.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.3291, allocations: 84.14 kB / 479.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-06/0.3291, allocations: 7.984 kB / 479.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.3291, allocations: 0 / 479.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3292, allocations: 314.8 kB / 480.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.3292, allocations: 4 kB / 480.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.3293, allocations: 31.61 kB / 480.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.3293, allocations: 11.94 kB / 480.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3293, allocations: 0 / 480.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.931e-05/0.3294, allocations: 57.48 kB / 480.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3294, allocations: 7.984 kB / 480.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3294, allocations: 0 / 480.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3294, allocations: 4.094 kB / 480.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.3295, allocations: 4 kB / 480.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3295, allocations: 128 / 480.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.3295, allocations: 15.92 kB / 480.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3295, allocations: 7.953 kB / 480.2 MB, free: 1.566 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 () * Number of clocked 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.485e-05/0.3296, allocations: 109.8 kB / 480.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3297, allocations: 65.61 kB / 480.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.3298, allocations: 3.906 kB / 480.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3298, allocations: 4 kB / 480.4 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3298, allocations: 4 kB / 480.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3298, allocations: 0 / 480.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.578e-05/0.3299, allocations: 157.6 kB / 480.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3299, allocations: 0 / 480.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.3299, allocations: 11.98 kB / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3299, allocations: 0 / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.33, allocations: 0 / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.33, allocations: 3.984 kB / 480.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.33, allocations: 0 / 480.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.3301, allocations: 96.97 kB / 480.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.3302, allocations: 85.05 kB / 480.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3302, allocations: 256 / 480.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.3302, allocations: 12 kB / 480.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-06/0.3302, allocations: 0 / 480.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3302, allocations: 3.984 kB / 480.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.3303, allocations: 79.28 kB / 480.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3303, allocations: 4 kB / 480.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.3305, allocations: 8 kB / 480.9 MB, free: 0.8242 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 () * Number of clocked 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.0004058/0.3309, allocations: 0.6202 MB / 481.5 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.331, allocations: 31.92 kB / 481.5 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.331, allocations: 0 / 481.5 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.331, allocations: 0 / 481.5 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3312, allocations: 30.84 kB / 481.6 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.3319, allocations: 0.8251 MB / 482.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3322, allocations: 0.6926 MB / 483.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.121e-05/0.3322, allocations: 0 / 483.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.3322, allocations: 7.438 kB / 483.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3322, allocations: 0 / 483.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.3438, allocations: 1.018 MB / 484.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.3441, allocations: 196.1 kB / 484.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.174, allocations: 0 / 484.3 MB, free: 13.39 MB / 362.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