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.0009807/0.0009809, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0008233/0.0008232, allocations: 84.48 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.021e-05, allocations: 8 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 50.42 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4461, allocations: 76.84 MB / 464.4 MB, free: 1.973 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4464, allocations: 79.95 kB / 464.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.4587, allocations: 4.426 MB / 468.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4588, allocations: 3.938 kB / 468.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4588, allocations: 0 / 468.9 MB, free: 13.47 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.0004716/0.4593, allocations: 395 kB / 469.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4594, allocations: 12.03 kB / 469.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.4594, allocations: 23.75 kB / 469.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.4597, allocations: 217.4 kB / 469.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4597, allocations: 4 kB / 469.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4597, allocations: 4 kB / 469.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/0.4599, allocations: 51.98 kB / 469.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.4603, allocations: 233.5 kB / 469.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4603, allocations: 3.953 kB / 469.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4603, allocations: 0 / 469.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4603, allocations: 0 / 469.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.4608, allocations: 283 kB / 470.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.461, allocations: 119.8 kB / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.4611, allocations: 66.72 kB / 470.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.4611, allocations: 4 kB / 470.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4611, allocations: 34.56 kB / 470.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.4611, allocations: 0 / 470.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002665/0.4614, allocations: 122.3 kB / 470.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.4615, allocations: 114.8 kB / 470.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.4616, allocations: 132.9 kB / 470.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4617, allocations: 25.7 kB / 470.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.4617, allocations: 92.14 kB / 470.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.4617, allocations: 23.73 kB / 470.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.4617, allocations: 0 / 470.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4619, allocations: 326.8 kB / 471.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.4619, allocations: 12.38 kB / 471.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.462, allocations: 128.2 kB / 471.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.4621, allocations: 39.98 kB / 471.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4621, allocations: 3.938 kB / 471.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002019/0.4623, allocations: 137.8 kB / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4623, allocations: 8.094 kB / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4624, allocations: 11.97 kB / 471.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4624, allocations: 4 kB / 471.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4625, allocations: 35.88 kB / 471.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4625, allocations: 7.938 kB / 471.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.4626, allocations: 15.89 kB / 471.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4626, allocations: 8 kB / 471.6 MB, free: 10.52 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 0.000104/0.4627, allocations: 122.4 kB / 471.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001951/0.4629, allocations: 121.5 kB / 471.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.463, allocations: 15.81 kB / 471.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.4631, allocations: 20.58 kB / 471.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4631, allocations: 0 / 471.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.4631, allocations: 7.984 kB / 471.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4631, allocations: 0 / 471.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4633, allocations: 162.2 kB / 472 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4633, allocations: 0 / 472 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.4634, allocations: 31.92 kB / 472 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.4634, allocations: 4 kB / 472 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4634, allocations: 4.031 kB / 472 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4634, allocations: 4 kB / 472 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.4634, allocations: 7.938 kB / 472 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4637, allocations: 245.8 kB / 472.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.4638, allocations: 112.9 kB / 472.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4638, allocations: 4 kB / 472.4 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.4639, allocations: 4 kB / 472.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.4639, allocations: 0 / 472.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.464, allocations: 7.984 kB / 472.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.464, allocations: 111.3 kB / 472.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4641, allocations: 3.938 kB / 472.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.4643, allocations: 15.91 kB / 472.5 MB, free: 9.438 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.0006994/0.465, allocations: 0.9723 MB / 473.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4652, allocations: 89.75 kB / 473.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4652, allocations: 0 / 473.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.4653, allocations: 4.094 kB / 473.6 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4656, allocations: 67.83 kB / 473.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.4662, allocations: 216 kB / 473.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.4665, allocations: 0.7249 MB / 474.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.4666, allocations: 13.2 kB / 474.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.4667, allocations: 31.42 kB / 474.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4667, allocations: 0 / 474.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.4905, allocations: 2.066 MB / 476.7 MB, free: 5.172 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.4908, allocations: 152.1 kB / 476.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.035, allocations: 4.031 kB / 476.9 MB, free: 4.977 MB / 346.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