Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007887/0.0007887, allocations: 106.2 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 11.98 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2072, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08735/0.2946, allocations: 77.91 MB / 487.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.2949, allocations: 76.48 kB / 487.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005988/0.3009, allocations: 2.226 MB / 489.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.3009, allocations: 3.984 kB / 489.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3009, allocations: 8 kB / 489.7 MB, free: 10.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003914/0.3013, allocations: 371 kB / 490.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3014, allocations: 12.03 kB / 490.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.3014, allocations: 38.56 kB / 490.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3015, allocations: 27.77 kB / 490.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3018, allocations: 201 kB / 490.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.3018, allocations: 0 / 490.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3018, allocations: 4 kB / 490.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3021, allocations: 121.9 kB / 490.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3021, allocations: 0 / 490.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3021, allocations: 0 / 490.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3021, allocations: 0 / 490.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.3022, allocations: 27.92 kB / 490.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.3026, allocations: 282.6 kB / 490.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3027, allocations: 75.78 kB / 490.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3027, allocations: 4.062 kB / 490.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3027, allocations: 35.78 kB / 490.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3028, allocations: 0 / 490.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002561/0.303, allocations: 89.86 kB / 491 MB, free: 8.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3031, allocations: 110.8 kB / 491.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3032, allocations: 121 kB / 491.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3032, allocations: 25.7 kB / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.3033, allocations: 100.1 kB / 491.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3033, allocations: 3.906 kB / 491.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.3033, allocations: 0 / 491.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.3034, allocations: 326.8 kB / 491.7 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.3035, allocations: 11.98 kB / 491.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.3035, allocations: 39.36 kB / 491.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.3036, allocations: 16 kB / 491.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3036, allocations: 0 / 491.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.3037, allocations: 69.61 kB / 491.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3038, allocations: 4 kB / 491.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3038, allocations: 4 kB / 491.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3038, allocations: 0 / 491.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.3039, allocations: 20.05 kB / 491.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3039, allocations: 4 kB / 491.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.3039, allocations: 0 / 491.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3039, allocations: 4 kB / 491.8 MB, free: 8.035 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.616e-05/0.304, allocations: 121.8 kB / 491.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.3041, allocations: 57.48 kB / 492 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.3042, allocations: 15.86 kB / 492 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3042, allocations: 4.062 kB / 492 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3042, allocations: 0 / 492 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3042, allocations: 0 / 492 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3044, allocations: 181.5 kB / 492.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3044, allocations: 0 / 492.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.3044, allocations: 19.91 kB / 492.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3044, allocations: 4 kB / 492.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3045, allocations: 4 kB / 492.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3045, allocations: 0 / 492.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3045, allocations: 0 / 492.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3047, allocations: 212.5 kB / 492.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.3047, allocations: 89 kB / 492.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3048, allocations: 4 kB / 492.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3048, allocations: 8 kB / 492.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.3049, allocations: 3.984 kB / 492.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3049, allocations: 4 kB / 492.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.305, allocations: 110 kB / 492.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.305, allocations: 0 / 492.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.3052, allocations: 15.98 kB / 492.7 MB, free: 7.074 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.0004855/0.3057, allocations: 0.8812 MB / 493.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3059, allocations: 39.92 kB / 493.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3059, allocations: 0 / 493.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.3059, allocations: 11.98 kB / 493.6 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3062, allocations: 24.02 kB / 493.6 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.307, allocations: 0.9819 MB / 494.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.3073, allocations: 0.6926 MB / 495.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.3073, allocations: 12.17 kB / 495.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.3074, allocations: 15.5 kB / 495.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3074, allocations: 0 / 495.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.3196, allocations: 1.404 MB / 496.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.3198, allocations: 190.3 kB / 496.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/1.697, allocations: 0 / 496.9 MB, free: 2.793 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat