Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001719/0.001718, allocations: 180.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.33/1.33, 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.000845/0.000845, allocations: 98.25 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1951, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0813/0.2765, allocations: 77.25 MB / 478.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.2767, allocations: 76.86 kB / 478.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003987/0.2807, allocations: 1.636 MB / 480.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2807, allocations: 4 kB / 480.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2807, allocations: 0 / 480.5 MB, free: 1.531 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003332/0.2811, allocations: 386.9 kB / 480.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2811, allocations: 8.031 kB / 480.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.2812, allocations: 42.45 kB / 481 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.2812, allocations: 7.906 kB / 481 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2814, allocations: 203.4 kB / 481.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.2814, allocations: 0 / 481.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2814, allocations: 8 kB / 481.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.2817, allocations: 142.6 kB / 481.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2817, allocations: 0 / 481.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2817, allocations: 4 kB / 481.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2817, allocations: 7.938 kB / 481.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.2818, allocations: 31.92 kB / 481.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.2821, allocations: 291.5 kB / 481.7 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.2822, allocations: 90.42 kB / 481.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2823, allocations: 4.062 kB / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2823, allocations: 42.5 kB / 481.8 MB, free: 64 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2823, allocations: 0 / 481.8 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002721/0.2826, allocations: 113.9 kB / 481.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.2827, allocations: 132.5 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.2828, allocations: 139.1 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2828, allocations: 25.7 kB / 482.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.2828, allocations: 92.31 kB / 482.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.2828, allocations: 11.91 kB / 482.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2829, allocations: 0 / 482.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.2829, allocations: 322.8 kB / 482.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.283, allocations: 12 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.2831, allocations: 53.08 kB / 482.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.2831, allocations: 23.98 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2831, allocations: 0 / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001388/0.2833, allocations: 89.45 kB / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2833, allocations: 4.188 kB / 482.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2833, allocations: 8 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2833, allocations: 3.953 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.2834, allocations: 15.98 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2834, allocations: 0 / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.2835, allocations: 15.88 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2835, allocations: 4 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.924e-05/0.2836, allocations: 117.8 kB / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.2836, allocations: 69.53 kB / 483 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2837, allocations: 15.86 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2837, allocations: 0 / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2837, allocations: 7.953 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2837, allocations: 3.984 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2839, allocations: 173.6 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2839, allocations: 4.125 kB / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.2839, allocations: 12 kB / 483.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.284, allocations: 3.984 kB / 483.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.284, allocations: 4.094 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.284, allocations: 7.938 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.284, allocations: 7.938 kB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.2842, allocations: 232.3 kB / 483.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.2842, allocations: 101 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.2843, allocations: 0 / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.2843, allocations: 4 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2844, allocations: 7.984 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.2844, allocations: 0 / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.2845, allocations: 119.2 kB / 483.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2845, allocations: 0 / 483.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.2847, allocations: 11.91 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004446/0.2851, allocations: 0.9691 MB / 484.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2853, allocations: 56.16 kB / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2853, allocations: 0 / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.2853, allocations: 11.94 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2856, allocations: 42.88 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.2866, allocations: 1.349 MB / 486.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.2868, allocations: 0.6965 MB / 486.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.2868, allocations: 8.656 kB / 486.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2869, allocations: 19.44 kB / 486.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2869, allocations: 0 / 486.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.503/1.79, allocations: 1.731 MB / 488.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/1.79, allocations: 195.6 kB / 488.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/3.354, allocations: 0 / 488.8 MB, free: 8.793 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat