Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009358/0.0009356, allocations: 174.9 kB / 13.63 MB, free: 1.684 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.346/1.346, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008007, allocations: 81.86 kB / 286.5 MB, free: 204 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.857e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 50.42 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4154, allocations: 78.25 MB / 472.6 MB, free: 9.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4157, allocations: 71.95 kB / 472.7 MB, free: 9.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.432, allocations: 5.61 MB / 478.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4321, allocations: 0 / 478.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4321, allocations: 7.938 kB / 478.3 MB, free: 3.559 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.0006453/0.4327, allocations: 470.7 kB / 478.7 MB, free: 3.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4328, allocations: 8.031 kB / 478.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.4329, allocations: 54.48 kB / 478.8 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.4329, allocations: 23.72 kB / 478.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4332, allocations: 250.5 kB / 479.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.4333, allocations: 12 kB / 479.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.4333, allocations: 20 kB / 479.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.4342, allocations: 0.6068 MB / 479.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.4343, allocations: 0 / 479.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4343, allocations: 4 kB / 479.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.4343, allocations: 12.5 kB / 479.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4346, allocations: 175.8 kB / 479.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.4351, allocations: 366.3 kB / 480.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.4354, allocations: 231.7 kB / 480.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.4357, allocations: 142.6 kB / 480.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.4357, allocations: 8 kB / 480.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4357, allocations: 38.5 kB / 480.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.552e-06/0.4357, allocations: 0 / 480.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005348/0.4363, allocations: 305.9 kB / 481 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.4364, allocations: 134.7 kB / 481.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.4366, allocations: 149.5 kB / 481.2 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4366, allocations: 29.7 kB / 481.3 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.4367, allocations: 100.9 kB / 481.4 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.4368, allocations: 43.62 kB / 481.4 MB, free: 172 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.4368, allocations: 8 kB / 481.4 MB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4369, allocations: 334.8 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.437, allocations: 72.89 kB / 481.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.4373, allocations: 310.8 kB / 482.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.4375, allocations: 123.8 kB / 482.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4375, allocations: 4 kB / 482.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005055/0.438, allocations: 393.4 kB / 482.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.438, allocations: 15.94 kB / 482.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.438, allocations: 12 kB / 482.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4381, allocations: 12 kB / 482.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.4383, allocations: 91.77 kB / 482.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.4384, allocations: 15.94 kB / 482.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.4385, allocations: 27.75 kB / 482.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4385, allocations: 28.23 kB / 482.8 MB, free: 14.61 MB / 362.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 0.0001058/0.4387, allocations: 152.7 kB / 483 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.4391, allocations: 282.5 kB / 483.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.4392, allocations: 34.78 kB / 483.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4392, allocations: 7.938 kB / 483.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4392, allocations: 3.984 kB / 483.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4392, allocations: 0 / 483.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.4394, allocations: 249.3 kB / 483.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4394, allocations: 0 / 483.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.4397, allocations: 67.91 kB / 483.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4397, allocations: 0 / 483.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4398, allocations: 15.94 kB / 483.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4398, allocations: 0 / 483.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4398, allocations: 4 kB / 483.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.4403, allocations: 435.1 kB / 484.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.4404, allocations: 136.7 kB / 484.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.4405, allocations: 19.98 kB / 484.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4406, allocations: 12 kB / 484.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.4407, allocations: 3.938 kB / 484.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4407, allocations: 15.98 kB / 484.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.965e-05/0.4408, allocations: 123.2 kB / 484.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4408, allocations: 0 / 484.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000342/0.4412, allocations: 56 kB / 484.4 MB, free: 12.91 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: 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.001136/0.4423, allocations: 1.29 MB / 485.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.4427, allocations: 275 kB / 486 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4427, allocations: 0.6875 kB / 486 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.4427, allocations: 3.938 kB / 486 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.4432, allocations: 196.2 kB / 486.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4444, allocations: 494.9 kB / 486.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4448, allocations: 0.7842 MB / 487.4 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.4448, allocations: 18.08 kB / 487.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4449, allocations: 71.41 kB / 487.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.445, allocations: 0 / 487.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.4602, allocations: 4.68 MB / 492.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.4604, allocations: 163.7 kB / 492.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.153, allocations: 0 / 492.4 MB, free: 4.949 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat