Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.001511/0.001511, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.447/1.447, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009555/0.0009555, allocations: 96.91 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002611, allocations: 11.94 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07997/0.2752, allocations: 77.07 MB / 478.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2754, allocations: 75.95 kB / 478.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003648/0.2791, allocations: 1.521 MB / 480.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2791, allocations: 0 / 480.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2791, allocations: 0 / 480.2 MB, free: 1.824 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003317/0.2795, allocations: 383 kB / 480.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2795, allocations: 8.031 kB / 480.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.2796, allocations: 34.52 kB / 480.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.2796, allocations: 7.906 kB / 480.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2798, allocations: 193.9 kB / 480.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.2798, allocations: 3.938 kB / 480.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2798, allocations: 4 kB / 480.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.2801, allocations: 113.9 kB / 481 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2801, allocations: 7.891 kB / 481 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.2801, allocations: 4 kB / 481 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2801, allocations: 0 / 481 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.2802, allocations: 23.98 kB / 481 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.2805, allocations: 290.5 kB / 481.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.939e-05/0.2806, allocations: 63.84 kB / 481.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2807, allocations: 15.94 kB / 481.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2807, allocations: 38.56 kB / 481.4 MB, free: 460 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2807, allocations: 0 / 481.4 MB, free: 460 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002328/0.2809, allocations: 89.52 kB / 481.5 MB, free: 364 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.281, allocations: 111.1 kB / 481.6 MB, free: 228 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.2811, allocations: 129 kB / 481.7 MB, free: 92 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2811, allocations: 25.7 kB / 481.8 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2812, allocations: 96.06 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.2812, allocations: 3.906 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.2812, allocations: 0 / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.2813, allocations: 318.8 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.2813, allocations: 11.98 kB / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.2814, allocations: 39.42 kB / 482.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.2814, allocations: 12 kB / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2815, allocations: 0 / 482.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001217/0.2816, allocations: 81.5 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2816, allocations: 8 kB / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2816, allocations: 0 / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2816, allocations: 0 / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.2817, allocations: 11.98 kB / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2817, allocations: 4 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2818, allocations: 4 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2818, allocations: 4.125 kB / 482.3 MB, free: 15.45 MB / 362.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.472e-05/0.2818, allocations: 113.8 kB / 482.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.2819, allocations: 65.48 kB / 482.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.282, allocations: 7.875 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.282, allocations: 3.984 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.282, allocations: 3.938 kB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.282, allocations: 4.078 kB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2822, allocations: 173.6 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2822, allocations: 4.062 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.2822, allocations: 15.98 kB / 482.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2822, allocations: 4 kB / 482.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2822, allocations: 3.953 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2823, allocations: 0 / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2823, allocations: 7.938 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.2824, allocations: 200.6 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2825, allocations: 89 kB / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2825, allocations: 0 / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.2826, allocations: 8 kB / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2826, allocations: 7.922 kB / 483 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2826, allocations: 8 kB / 483 MB, free: 14.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.2827, allocations: 106.2 kB / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2827, allocations: 0 / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.2829, allocations: 8 kB / 483.2 MB, free: 14.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0004317/0.2834, allocations: 0.8831 MB / 484 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2835, allocations: 36.11 kB / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2835, allocations: 4.062 kB / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.2835, allocations: 11.98 kB / 484.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.2838, allocations: 23.95 kB / 484.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.2846, allocations: 0.9833 MB / 485.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2848, allocations: 0.6927 MB / 485.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.091e-05/0.2849, allocations: 8.172 kB / 485.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2849, allocations: 15.44 kB / 485.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2849, allocations: 8 kB / 485.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.439/1.724, allocations: 1.453 MB / 487.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.725, allocations: 189.3 kB / 487.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/3.314, allocations: 0 / 487.5 MB, free: 10.18 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat