Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",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.001336/0.001336, allocations: 180.6 kB / 16.39 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.395/1.395, 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.0009817/0.0009817, allocations: 88.89 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 12 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.351, allocations: 50.39 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4553, allocations: 77.58 MB / 479.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4556, allocations: 84.47 kB / 479.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.4678, allocations: 4.478 MB / 483.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4678, allocations: 0 / 483.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4679, allocations: 0 / 483.7 MB, free: 14.34 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000479/0.4683, allocations: 422.8 kB / 484.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4684, allocations: 12.03 kB / 484.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.4685, allocations: 46.5 kB / 484.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.4685, allocations: 15.81 kB / 484.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.4687, allocations: 207.8 kB / 484.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4688, allocations: 12 kB / 484.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.4688, allocations: 8 kB / 484.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.4693, allocations: 263 kB / 484.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4693, allocations: 0 / 484.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4694, allocations: 7.953 kB / 484.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4694, allocations: 0 / 484.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.4695, allocations: 67.88 kB / 484.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.4699, allocations: 310.5 kB / 485.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4701, allocations: 135.8 kB / 485.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4702, allocations: 4.062 kB / 485.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4702, allocations: 46.53 kB / 485.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.4702, allocations: 0 / 485.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003911/0.4706, allocations: 173.5 kB / 485.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.4707, allocations: 122.9 kB / 485.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4708, allocations: 140.2 kB / 485.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4708, allocations: 29.7 kB / 485.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.4709, allocations: 88.12 kB / 485.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4709, allocations: 15.89 kB / 485.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.4709, allocations: 8.375 kB / 485.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.471, allocations: 318.8 kB / 486.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.4711, allocations: 32.36 kB / 486.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4712, allocations: 139.2 kB / 486.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.4713, allocations: 47.94 kB / 486.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4714, allocations: 4 kB / 486.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000263/0.4716, allocations: 181.2 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4716, allocations: 8 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4717, allocations: 7.953 kB / 486.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4717, allocations: 4 kB / 486.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4718, allocations: 35.91 kB / 486.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4718, allocations: 7.938 kB / 486.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/0.4719, allocations: 20.38 kB / 486.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4719, allocations: 11.94 kB / 486.6 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001081/0.472, allocations: 144.3 kB / 486.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4722, allocations: 105.5 kB / 486.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.4723, allocations: 24.7 kB / 486.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4723, allocations: 7.953 kB / 486.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4723, allocations: 0 / 486.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4723, allocations: 0 / 486.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.4725, allocations: 193.5 kB / 487.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4725, allocations: 8 kB / 487.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4726, allocations: 27.98 kB / 487.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4726, allocations: 0 / 487.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4727, allocations: 8 kB / 487.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4727, allocations: 0 / 487.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4727, allocations: 7.891 kB / 487.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.473, allocations: 275.3 kB / 487.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.4731, allocations: 112.8 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4731, allocations: 3.984 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.4732, allocations: 8 kB / 487.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.4732, allocations: 4 kB / 487.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.4732, allocations: 8 kB / 487.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.4733, allocations: 118.9 kB / 487.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4733, allocations: 0 / 487.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.4736, allocations: 20 kB / 487.7 MB, free: 9.957 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000698/0.4743, allocations: 1.008 MB / 488.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4745, allocations: 120.3 kB / 488.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4745, allocations: 0 / 488.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.4746, allocations: 15.92 kB / 488.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4749, allocations: 79.92 kB / 488.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4768, allocations: 3.22 MB / 492.1 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4771, allocations: 0.7205 MB / 492.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.4772, allocations: 21.5 kB / 492.8 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.4772, allocations: 31.64 kB / 492.9 MB, free: 4.547 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4772, allocations: 0 / 492.9 MB, free: 4.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.4912, allocations: 2.384 MB / 495.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.4915, allocations: 201.4 kB / 495.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.086, allocations: 0 / 495.5 MB, free: 2.066 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat