Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001058/0.001058, allocations: 197.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008782/0.0008782, allocations: 108.2 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002066/0.0002066, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1943, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08869/0.283, allocations: 78.05 MB / 487.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.2833, allocations: 75.95 kB / 487.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00475/0.288, allocations: 1.743 MB / 489.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2881, allocations: 0 / 489.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2881, allocations: 4 kB / 489.4 MB, free: 10.73 MB / 362.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.0003857/0.2885, allocations: 386.9 kB / 489.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2885, allocations: 8.031 kB / 489.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.2886, allocations: 42.55 kB / 489.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2887, allocations: 19.91 kB / 489.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2889, allocations: 199.6 kB / 490 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.2889, allocations: 4 kB / 490 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2889, allocations: 11.94 kB / 490 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.2892, allocations: 146.6 kB / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2893, allocations: 0 / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2893, allocations: 0 / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2893, allocations: 0 / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.2894, allocations: 31.92 kB / 490.2 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2898, allocations: 295.5 kB / 490.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2899, allocations: 94.42 kB / 490.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2899, allocations: 7.938 kB / 490.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.29, allocations: 42.55 kB / 490.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.29, allocations: 0 / 490.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002863/0.2903, allocations: 105.5 kB / 490.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.2904, allocations: 136.5 kB / 490.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2905, allocations: 136.2 kB / 491 MB, free: 8.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2905, allocations: 29.7 kB / 491 MB, free: 8.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.2906, allocations: 96.31 kB / 491.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.2906, allocations: 3.906 kB / 491.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.2906, allocations: 0 / 491.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2907, allocations: 322.8 kB / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.2908, allocations: 11.98 kB / 491.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.2909, allocations: 57.09 kB / 491.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.2909, allocations: 11.98 kB / 491.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2909, allocations: 4 kB / 491.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001599/0.2911, allocations: 97.53 kB / 491.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2911, allocations: 8 kB / 491.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2911, allocations: 4 kB / 491.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2912, allocations: 4 kB / 491.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.2912, allocations: 11.98 kB / 491.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2913, allocations: 7.938 kB / 491.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.2913, allocations: 8.188 kB / 491.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2913, allocations: 4 kB / 491.7 MB, free: 8.113 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 9.371e-05/0.2914, allocations: 121.8 kB / 491.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.2915, allocations: 69.48 kB / 491.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.2916, allocations: 11.88 kB / 491.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2916, allocations: 4 kB / 491.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2916, allocations: 0 / 491.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2916, allocations: 4.094 kB / 491.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2918, allocations: 177.6 kB / 492.1 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2918, allocations: 4 kB / 492.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.2919, allocations: 11.98 kB / 492.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.2919, allocations: 7.953 kB / 492.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.2919, allocations: 0 / 492.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2919, allocations: 7.938 kB / 492.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2919, allocations: 3.938 kB / 492.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.2922, allocations: 235.5 kB / 492.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.2922, allocations: 100.8 kB / 492.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2923, allocations: 8 kB / 492.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.2923, allocations: 11.98 kB / 492.4 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.2924, allocations: 0 / 492.4 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.2924, allocations: 4 kB / 492.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.288e-05/0.2925, allocations: 109.7 kB / 492.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2925, allocations: 3.938 kB / 492.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.2927, allocations: 8 kB / 492.6 MB, free: 7.098 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.0006762/0.2934, allocations: 0.977 MB / 493.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.2936, allocations: 47.86 kB / 493.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2936, allocations: 0 / 493.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.2936, allocations: 16.36 kB / 493.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.2939, allocations: 46.14 kB / 493.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2951, allocations: 1.332 MB / 495 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2954, allocations: 0.7043 MB / 495.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.2955, allocations: 16.66 kB / 495.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.2956, allocations: 19.42 kB / 495.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.2956, allocations: 4 kB / 495.7 MB, free: 3.789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.3075, allocations: 1.736 MB / 497.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.3078, allocations: 183.5 kB / 497.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.758, allocations: 3.938 kB / 497.6 MB, free: 1.973 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat