Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.00111/0.00111, allocations: 180.4 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.394/1.394, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0009252/0.0009252, allocations: 90.23 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002641, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2335, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09531/0.3288, allocations: 77.32 MB / 478.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3291, allocations: 79.95 kB / 479 MB, free: 3.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009974/0.3391, allocations: 3.52 MB / 482.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3391, allocations: 4 kB / 482.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3391, allocations: 3.938 kB / 482.5 MB, free: 15.53 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005126/0.3397, allocations: 400 kB / 482.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3397, allocations: 12.03 kB / 482.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3398, allocations: 42.5 kB / 482.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3398, allocations: 11.91 kB / 483 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.34, allocations: 205.6 kB / 483.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3401, allocations: 8 kB / 483.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3401, allocations: 7.938 kB / 483.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3406, allocations: 216.9 kB / 483.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3406, allocations: 7.953 kB / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3406, allocations: 0 / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3406, allocations: 0 / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3408, allocations: 63.89 kB / 483.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3412, allocations: 290.5 kB / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3414, allocations: 103.8 kB / 483.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3415, allocations: 11.92 kB / 483.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3415, allocations: 42.69 kB / 483.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.3415, allocations: 0 / 483.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004161/0.3419, allocations: 145.5 kB / 484 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.342, allocations: 114.8 kB / 484.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3421, allocations: 129 kB / 484.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3421, allocations: 25.7 kB / 484.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.3422, allocations: 96.12 kB / 484.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3422, allocations: 15.95 kB / 484.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3422, allocations: 4 kB / 484.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3424, allocations: 318.8 kB / 484.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.3425, allocations: 27.92 kB / 484.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3426, allocations: 93.42 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.3427, allocations: 32 kB / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3427, allocations: 0 / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002318/0.3429, allocations: 141.5 kB / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3429, allocations: 12 kB / 485 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3429, allocations: 4 kB / 485 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.343, allocations: 4 kB / 485 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3431, allocations: 27.92 kB / 485.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3431, allocations: 11.97 kB / 485.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.3432, allocations: 7.906 kB / 485.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3432, allocations: 4 kB / 485.1 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.906e-05/0.3433, allocations: 129.8 kB / 485.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.3435, allocations: 114 kB / 485.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.3436, allocations: 16.25 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3436, allocations: 0 / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3436, allocations: 4 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3436, allocations: 0 / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3438, allocations: 185.6 kB / 485.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3438, allocations: 0 / 485.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3439, allocations: 23.98 kB / 485.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3439, allocations: 0 / 485.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.344, allocations: 11.95 kB / 485.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.344, allocations: 4 kB / 485.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.344, allocations: 3.984 kB / 485.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3443, allocations: 260.3 kB / 485.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3444, allocations: 96.98 kB / 485.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3444, allocations: 4 kB / 485.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.3445, allocations: 8 kB / 485.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3445, allocations: 4 kB / 485.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3446, allocations: 3.984 kB / 485.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.3446, allocations: 110.2 kB / 486 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3447, allocations: 0 / 486 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.3449, allocations: 16 kB / 486.1 MB, free: 11.55 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007853/0.3457, allocations: 0.9783 MB / 487 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3459, allocations: 79.89 kB / 487.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.346, allocations: 0 / 487.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.346, allocations: 12.67 kB / 487.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3464, allocations: 64 kB / 487.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3481, allocations: 2.171 MB / 489.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3485, allocations: 0.7082 MB / 490.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.3485, allocations: 20.78 kB / 490.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3486, allocations: 27.48 kB / 490.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3486, allocations: 0 / 490.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.58/1.929, allocations: 1.943 MB / 492.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.929, allocations: 210.1 kB / 492.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/3.753, allocations: 3.797 kB / 492.3 MB, free: 5.316 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat