Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.00118/0.00118, 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.303/1.303, allocations: 223.2 MB / 240.3 MB, free: 10.18 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.0008472/0.0008475, allocations: 88.61 kB / 291.5 MB, free: 10.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002546, allocations: 12 kB / 351.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2016, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0972/0.2989, allocations: 76.97 MB / 478.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.2992, allocations: 83.94 kB / 478.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004872/0.304, allocations: 1.747 MB / 480.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3041, allocations: 0 / 480.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3041, allocations: 0 / 480.4 MB, free: 1.691 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000412/0.3045, allocations: 387 kB / 480.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3046, allocations: 12.03 kB / 480.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.3046, allocations: 42.5 kB / 480.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.3046, allocations: 7.906 kB / 480.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3049, allocations: 207.3 kB / 481 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.3049, allocations: 4 kB / 481 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3049, allocations: 4 kB / 481 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.3052, allocations: 129.9 kB / 481.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3052, allocations: 0 / 481.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3052, allocations: 0 / 481.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3052, allocations: 3.953 kB / 481.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3054, allocations: 59.91 kB / 481.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.3059, allocations: 381.9 kB / 481.6 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.306, allocations: 75.78 kB / 481.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.306, allocations: 4.062 kB / 481.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3061, allocations: 38.45 kB / 481.7 MB, free: 156 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3061, allocations: 4 kB / 481.7 MB, free: 152 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.3065, allocations: 125.5 kB / 481.8 MB, free: 20 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.3065, allocations: 111.2 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3067, allocations: 134.9 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3067, allocations: 29.7 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.3067, allocations: 96.03 kB / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3068, allocations: 7.938 kB / 482.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.3068, allocations: 0 / 482.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3069, allocations: 318.8 kB / 482.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.307, allocations: 31.92 kB / 482.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.3071, allocations: 43.42 kB / 482.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.3071, allocations: 27.98 kB / 482.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3072, allocations: 0 / 482.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002004/0.3074, allocations: 93.5 kB / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3074, allocations: 8 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3074, allocations: 128 / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3074, allocations: 7.953 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3075, allocations: 19.92 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3075, allocations: 0 / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3076, allocations: 11.98 kB / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3076, allocations: 0 / 482.8 MB, free: 15.03 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 8.087e-05/0.3077, allocations: 117.8 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.3078, allocations: 53.59 kB / 482.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.3079, allocations: 15.86 kB / 482.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3079, allocations: 7.891 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3079, allocations: 4 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3079, allocations: 0 / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3081, allocations: 185.5 kB / 483.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3081, allocations: 4.094 kB / 483.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.3082, allocations: 15.92 kB / 483.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3082, allocations: 7.984 kB / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3082, allocations: 0 / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3082, allocations: 7.969 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3082, allocations: 3.953 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3085, allocations: 295 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3086, allocations: 101 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3087, allocations: 3.953 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3089, allocations: 4 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3089, allocations: 11.92 kB / 483.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3089, allocations: 0 / 483.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.309, allocations: 119.2 kB / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.309, allocations: 0 / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.3093, allocations: 8 kB / 483.7 MB, free: 13.97 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.0005629/0.3098, allocations: 0.964 MB / 484.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3101, allocations: 60.02 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3101, allocations: 4 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.3101, allocations: 19.92 kB / 484.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3104, allocations: 30.92 kB / 484.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3117, allocations: 1.069 MB / 485.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.312, allocations: 0.7043 MB / 486.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.312, allocations: 4.188 kB / 486.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3121, allocations: 23.48 kB / 486.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 3.146e-06/0.3121, allocations: 0 / 486.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.3234, allocations: 1.618 MB / 488.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/0.3238, allocations: 209.6 kB / 488.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.844, allocations: 0 / 488.4 MB, free: 9.285 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat