Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001253/0.001253, allocations: 179.3 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.26/1.26, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0008835/0.0008835, allocations: 90.11 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 8 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 50.41 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09435/0.3006, allocations: 77.04 MB / 478.6 MB, free: 3.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.3008, allocations: 77.58 kB / 478.7 MB, free: 3.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004048/0.3049, allocations: 1.518 MB / 480.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3049, allocations: 3.938 kB / 480.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3049, allocations: 0 / 480.2 MB, free: 1.855 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.0003951/0.3053, allocations: 383 kB / 480.6 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3054, allocations: 8.031 kB / 480.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.3054, allocations: 34.56 kB / 480.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3054, allocations: 11.86 kB / 480.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3056, allocations: 185.9 kB / 480.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3057, allocations: 0 / 480.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3057, allocations: 4 kB / 480.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3059, allocations: 113 kB / 480.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3059, allocations: 0 / 480.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.306, allocations: 3.953 kB / 480.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.306, allocations: 4 kB / 481 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.3061, allocations: 23.92 kB / 481 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.3064, allocations: 265.8 kB / 481.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.3065, allocations: 49.16 kB / 481.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3066, allocations: 7.984 kB / 481.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3066, allocations: 34.52 kB / 481.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3066, allocations: 0 / 481.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.3068, allocations: 77.58 kB / 481.4 MB, free: 488 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3069, allocations: 81.36 kB / 481.5 MB, free: 388 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.307, allocations: 132.9 kB / 481.6 MB, free: 248 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.307, allocations: 25.7 kB / 481.6 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3071, allocations: 92.12 kB / 481.7 MB, free: 120 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.3071, allocations: 0 / 481.7 MB, free: 120 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.3071, allocations: 0 / 481.7 MB, free: 120 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3072, allocations: 314.8 kB / 482 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.3073, allocations: 15.98 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.3073, allocations: 21.66 kB / 482.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.3074, allocations: 15.98 kB / 482.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3074, allocations: 0 / 482.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.3075, allocations: 65.61 kB / 482.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3075, allocations: 4 kB / 482.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3075, allocations: 3.938 kB / 482.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3075, allocations: 4 kB / 482.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.3076, allocations: 7.984 kB / 482.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3076, allocations: 0 / 482.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.3077, allocations: 4 kB / 482.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3077, allocations: 0 / 482.2 MB, free: 15.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.552e-05/0.3078, allocations: 121.9 kB / 482.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3078, allocations: 41.56 kB / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3079, allocations: 11.88 kB / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3079, allocations: 0 / 482.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3079, allocations: 3.984 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3079, allocations: 0 / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3081, allocations: 177.6 kB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3081, allocations: 0 / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.3081, allocations: 7.938 kB / 482.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3081, allocations: 8.031 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3082, allocations: 3.953 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3082, allocations: 0 / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3082, allocations: 0 / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3083, allocations: 178 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3084, allocations: 89 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3084, allocations: 7.938 kB / 482.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.3085, allocations: 4 kB / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.3085, allocations: 0 / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3086, allocations: 11.98 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.3086, allocations: 106.2 kB / 482.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3086, allocations: 0 / 482.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.3088, allocations: 4.031 kB / 482.9 MB, free: 14.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004304/0.3093, allocations: 0.7913 MB / 483.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.3094, allocations: 27.92 kB / 483.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3094, allocations: 0 / 483.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.3095, allocations: 11.98 kB / 483.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3097, allocations: 16.02 kB / 483.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.3105, allocations: 0.638 MB / 484.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3108, allocations: 0.6926 MB / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.766e-05/0.3109, allocations: 3.984 kB / 485.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.3109, allocations: 15.44 kB / 485.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3109, allocations: 0 / 485.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.3377, allocations: 1.337 MB / 486.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.338, allocations: 196.1 kB / 486.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.877, allocations: 3.75 kB / 486.7 MB, free: 11.04 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat