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.0009567/0.0009566, allocations: 174.8 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.296/1.296, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0009004/0.0009004, allocations: 79 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.691e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09437, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4207, allocations: 77.52 MB / 471.9 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.421, allocations: 83.94 kB / 471.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01255/0.4335, allocations: 4.454 MB / 476.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4336, allocations: 0 / 476.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4336, allocations: 4 kB / 476.4 MB, free: 5.414 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000475/0.4341, allocations: 402.9 kB / 476.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4342, allocations: 8.031 kB / 476.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.4342, allocations: 46.5 kB / 476.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.4343, allocations: 15.81 kB / 476.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.4346, allocations: 211.6 kB / 477.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4346, allocations: 8 kB / 477.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4347, allocations: 8 kB / 477.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.4351, allocations: 256.8 kB / 477.3 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4352, allocations: 3.984 kB / 477.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4352, allocations: 7.953 kB / 477.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4352, allocations: 4 kB / 477.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.4353, allocations: 43.88 kB / 477.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.4357, allocations: 314.4 kB / 477.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.436, allocations: 131.8 kB / 477.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4361, allocations: 63.42 kB / 477.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4361, allocations: 8.031 kB / 477.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4361, allocations: 42.56 kB / 477.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.4361, allocations: 0 / 477.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003061/0.4365, allocations: 125.4 kB / 478.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.4366, allocations: 110.8 kB / 478.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.4367, allocations: 136.7 kB / 478.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4367, allocations: 33.7 kB / 478.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.4368, allocations: 92.17 kB / 478.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.4368, allocations: 27.88 kB / 478.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4369, allocations: 4 kB / 478.5 MB, free: 3.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.437, allocations: 322.8 kB / 478.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.437, allocations: 20.38 kB / 478.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4371, allocations: 130.3 kB / 478.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.4372, allocations: 43.92 kB / 479 MB, free: 2.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4372, allocations: 4 kB / 479 MB, free: 2.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002287/0.4375, allocations: 161.2 kB / 479.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4375, allocations: 8.484 kB / 479.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4375, allocations: 7.938 kB / 479.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4376, allocations: 12 kB / 479.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4377, allocations: 27.98 kB / 479.2 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.4377, allocations: 15.94 kB / 479.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.4378, allocations: 19.89 kB / 479.2 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4378, allocations: 8 kB / 479.2 MB, free: 2.266 MB / 346.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 () * 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 9.843e-05/0.4379, allocations: 120.9 kB / 479.3 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.4381, allocations: 117.5 kB / 479.5 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4382, allocations: 24.58 kB / 479.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4382, allocations: 0 / 479.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4382, allocations: 8 kB / 479.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4382, allocations: 0 / 479.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.4384, allocations: 197.5 kB / 479.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4384, allocations: 0 / 479.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4385, allocations: 27.92 kB / 479.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4385, allocations: 4 kB / 479.7 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4386, allocations: 7.984 kB / 479.7 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4386, allocations: 7.953 kB / 479.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4386, allocations: 4 kB / 479.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.4389, allocations: 250.1 kB / 480 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/0.439, allocations: 112.8 kB / 480.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.439, allocations: 7.938 kB / 480.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.4391, allocations: 8 kB / 480.1 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.4391, allocations: 7.984 kB / 480.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4392, allocations: 11.98 kB / 480.1 MB, free: 1.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.4393, allocations: 107.3 kB / 480.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4393, allocations: 0 / 480.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000262/0.4395, allocations: 20 kB / 480.2 MB, free: 1.129 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * 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.0007896/0.4403, allocations: 0.9879 MB / 481.2 MB, free: 104 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.4405, allocations: 102.4 kB / 481.3 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4405, allocations: 0 / 481.3 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.4405, allocations: 0 / 481.3 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4409, allocations: 72.48 kB / 481.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.4415, allocations: 233.8 kB / 481.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4418, allocations: 0.7245 MB / 482.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.4419, allocations: 5.219 kB / 482.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.4419, allocations: 35.42 kB / 482.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4419, allocations: 3.938 kB / 482.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.4551, allocations: 2.398 MB / 484.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.4554, allocations: 170 kB / 485 MB, free: 12.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.001, allocations: 3.938 kB / 485 MB, free: 12.37 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