Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001338/0.001338, allocations: 180.6 kB / 16.38 MB, free: 5.762 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.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009151/0.0009151, allocations: 91.84 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002525, allocations: 12 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2243, allocations: 50.4 MB / 401.6 MB, free: 32.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09193/0.3163, allocations: 77.07 MB / 478.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3165, allocations: 87.94 kB / 478.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005762/0.3223, allocations: 2.109 MB / 480.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3224, allocations: 3.938 kB / 480.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3224, allocations: 3.938 kB / 480.8 MB, free: 1.125 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.000389/0.3228, allocations: 367.1 kB / 481.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3228, allocations: 12.03 kB / 481.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3229, allocations: 42.55 kB / 481.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3229, allocations: 15.77 kB / 481.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3231, allocations: 193.5 kB / 481.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3231, allocations: 3.984 kB / 481.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3231, allocations: 4 kB / 481.5 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3233, allocations: 105 kB / 481.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3234, allocations: 0 / 481.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3234, allocations: 7.953 kB / 481.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3234, allocations: 0 / 481.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.3235, allocations: 23.97 kB / 481.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.3238, allocations: 273.7 kB / 481.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.3239, allocations: 41.22 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3239, allocations: 0 / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.324, allocations: 50.45 kB / 482 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.324, allocations: 0 / 482 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.3242, allocations: 73.58 kB / 482 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3242, allocations: 81.05 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.3243, allocations: 125.5 kB / 482.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3244, allocations: 25.7 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.3244, allocations: 96.12 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.3244, allocations: 0 / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.3244, allocations: 0 / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.3245, allocations: 314.8 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.3246, allocations: 11.98 kB / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.3246, allocations: 21.72 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.3246, allocations: 15.98 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3247, allocations: 0 / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.3248, allocations: 61.48 kB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3248, allocations: 12.12 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3248, allocations: 0 / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3248, allocations: 0 / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.68e-05/0.3249, allocations: 7.984 kB / 482.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.3249, allocations: 0 / 482.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.3249, allocations: 9.312 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.325, allocations: 4 kB / 482.8 MB, free: 14.91 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 6.837e-05/0.325, allocations: 113.8 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.3251, allocations: 49.5 kB / 483 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3251, allocations: 7.875 kB / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3251, allocations: 0 / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3252, allocations: 7.938 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3252, allocations: 0 / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3253, allocations: 165.7 kB / 483.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3253, allocations: 0 / 483.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.3254, allocations: 11.98 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3254, allocations: 0 / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3254, allocations: 3.953 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3254, allocations: 4.031 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3254, allocations: 4 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3256, allocations: 178 kB / 483.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3256, allocations: 97.06 kB / 483.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3256, allocations: 3.953 kB / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.3257, allocations: 4 kB / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3257, allocations: 0 / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3258, allocations: 4 kB / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.3258, allocations: 110.3 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3258, allocations: 0 / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.3261, allocations: 4 kB / 483.6 MB, free: 14.05 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.0003687/0.3264, allocations: 0.7758 MB / 484.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3266, allocations: 31.95 kB / 484.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3266, allocations: 0 / 484.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.3266, allocations: 15.98 kB / 484.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3268, allocations: 8.031 kB / 484.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.3276, allocations: 0.6357 MB / 485 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3278, allocations: 0.6926 MB / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.3279, allocations: 0 / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3279, allocations: 15.5 kB / 485.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.385e-06/0.3279, allocations: 0 / 485.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.34, allocations: 1.297 MB / 487 MB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.3403, allocations: 195.4 kB / 487.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.92, allocations: 3.938 kB / 487.2 MB, free: 10.36 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat