Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 196.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009006/0.0009007, allocations: 100.8 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.762e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 51.47 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.4306, allocations: 78.39 MB / 473.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4309, allocations: 80.86 kB / 473.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.4464, allocations: 5.66 MB / 479.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4464, allocations: 4 kB / 479.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4464, allocations: 4 kB / 479.4 MB, free: 10.12 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005063/0.4469, allocations: 480.7 kB / 479.9 MB, free: 9.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.447, allocations: 8.031 kB / 479.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4471, allocations: 35.7 kB / 479.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4474, allocations: 238.6 kB / 480.1 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4474, allocations: 8 kB / 480.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4474, allocations: 15.98 kB / 480.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002564/0.4477, allocations: 177.1 kB / 480.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.4484, allocations: 0.5683 MB / 480.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4484, allocations: 0 / 480.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4484, allocations: 3.984 kB / 480.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.4485, allocations: 11.94 kB / 480.9 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.4488, allocations: 337.2 kB / 481.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.4491, allocations: 212.1 kB / 481.5 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.4492, allocations: 135.5 kB / 481.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.4493, allocations: 4 kB / 481.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.4493, allocations: 42.06 kB / 481.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.4493, allocations: 0 / 481.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003941/0.4497, allocations: 268.9 kB / 481.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.4498, allocations: 123.5 kB / 482 MB, free: 7.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.4499, allocations: 144.7 kB / 482.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4499, allocations: 25.7 kB / 482.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.4499, allocations: 103.7 kB / 482.3 MB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.45, allocations: 50.02 kB / 482.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.45, allocations: 3.938 kB / 482.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.45, allocations: 333.8 kB / 482.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.4501, allocations: 58.48 kB / 482.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4503, allocations: 298.3 kB / 483 MB, free: 6.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4504, allocations: 123.7 kB / 483.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4504, allocations: 7.938 kB / 483.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003751/0.4508, allocations: 335.3 kB / 483.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4508, allocations: 12.06 kB / 483.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4508, allocations: 8 kB / 483.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4509, allocations: 12 kB / 483.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.4511, allocations: 79.84 kB / 483.6 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4511, allocations: 19.92 kB / 483.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4513, allocations: 23.75 kB / 483.6 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4513, allocations: 27.06 kB / 483.7 MB, free: 6.062 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 7.41e-05/0.4514, allocations: 136.3 kB / 483.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003359/0.4517, allocations: 277.4 kB / 484.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.4518, allocations: 23.72 kB / 484.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.4518, allocations: 30.33 kB / 484.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4518, allocations: 4 kB / 484.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4519, allocations: 0 / 484.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4519, allocations: 4 kB / 484.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.452, allocations: 205.2 kB / 484.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.452, allocations: 0 / 484.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.4523, allocations: 62.09 kB / 484.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4523, allocations: 8.016 kB / 484.4 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.4523, allocations: 10.73 kB / 484.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4523, allocations: 7.938 kB / 484.4 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4523, allocations: 0 / 484.4 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.4527, allocations: 417.3 kB / 484.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.4528, allocations: 127.5 kB / 484.9 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.4528, allocations: 11.73 kB / 484.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4529, allocations: 8 kB / 485 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.453, allocations: 3.984 kB / 485 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.453, allocations: 11.19 kB / 485 MB, free: 4.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.4531, allocations: 127.8 kB / 485.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4531, allocations: 3.938 kB / 485.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4535, allocations: 36 kB / 485.1 MB, free: 4.672 MB / 346.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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0007129/0.4542, allocations: 1.261 MB / 486.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.4545, allocations: 241.1 kB / 486.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4545, allocations: 2.438 kB / 486.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.4545, allocations: 4 kB / 486.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4549, allocations: 186.8 kB / 486.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.4559, allocations: 464.6 kB / 487.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.4561, allocations: 0.7827 MB / 488.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.4562, allocations: 26.06 kB / 488.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.4563, allocations: 70.84 kB / 488.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4563, allocations: 0 / 488.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.4785, allocations: 4.302 MB / 492.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.4787, allocations: 149.5 kB / 492.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.304, allocations: 2.25 kB / 492.6 MB, free: 13.46 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat