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.001035/0.001035, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000924/0.000924, allocations: 89.2 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.589e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4146, allocations: 79.06 MB / 481.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4148, allocations: 76.45 kB / 481.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.43, allocations: 5.712 MB / 487 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4301, allocations: 0 / 487 MB, free: 5.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.4301, allocations: 4 kB / 487 MB, free: 5.707 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.0005492/0.4306, allocations: 476.8 kB / 487.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4307, allocations: 12.03 kB / 487.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.4307, allocations: 58.05 kB / 487.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.4309, allocations: 35.7 kB / 487.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.4312, allocations: 231.4 kB / 487.8 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.4313, allocations: 23.17 kB / 487.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.4313, allocations: 19.36 kB / 487.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.4321, allocations: 0.5975 MB / 488.4 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4321, allocations: 0 / 488.4 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4321, allocations: 7.75 kB / 488.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.4321, allocations: 15.97 kB / 488.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.4324, allocations: 163.7 kB / 488.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.4328, allocations: 381 kB / 489 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.4331, allocations: 219.1 kB / 489.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.4332, allocations: 153.7 kB / 489.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.4333, allocations: 8.141 kB / 489.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.4333, allocations: 38.06 kB / 489.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.4333, allocations: 0 / 489.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004487/0.4338, allocations: 291.9 kB / 489.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.4338, allocations: 141.7 kB / 489.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.4339, allocations: 155.3 kB / 490 MB, free: 2.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.434, allocations: 29.33 kB / 490 MB, free: 2.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.434, allocations: 99.84 kB / 490.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4341, allocations: 45.62 kB / 490.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.4341, allocations: 7.125 kB / 490.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.4341, allocations: 337.6 kB / 490.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.4342, allocations: 62.73 kB / 490.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.4344, allocations: 313.1 kB / 490.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4346, allocations: 137.2 kB / 491 MB, free: 1.938 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4346, allocations: 7.984 kB / 491 MB, free: 1.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004556/0.435, allocations: 382.8 kB / 491.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4351, allocations: 13.91 kB / 491.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.4351, allocations: 8 kB / 491.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.4351, allocations: 16 kB / 491.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4353, allocations: 87.84 kB / 491.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4354, allocations: 15.92 kB / 491.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.4355, allocations: 31.75 kB / 491.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.4356, allocations: 24 kB / 491.5 MB, free: 1.41 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 8.252e-05/0.4356, allocations: 153.2 kB / 491.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.436, allocations: 281.2 kB / 492 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.4361, allocations: 34.77 kB / 492 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4361, allocations: 4 kB / 492 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4361, allocations: 4 kB / 492 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4361, allocations: 3.984 kB / 492 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4363, allocations: 245.3 kB / 492.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4363, allocations: 0 / 492.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4366, allocations: 59.91 kB / 492.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4366, allocations: 7.984 kB / 492.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4366, allocations: 12 kB / 492.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4366, allocations: 0 / 492.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4366, allocations: 0 / 492.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.437, allocations: 446 kB / 492.8 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4372, allocations: 140.8 kB / 492.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.4372, allocations: 16 kB / 492.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4374, allocations: 11.98 kB / 492.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.4374, allocations: 4 kB / 492.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4374, allocations: 11.98 kB / 492.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.4375, allocations: 135.2 kB / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4375, allocations: 0 / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.4379, allocations: 55.95 kB / 493.1 MB, free: 15.71 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.001176/0.4391, allocations: 1.29 MB / 494.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.4395, allocations: 267.6 kB / 494.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4395, allocations: 4 kB / 494.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-05/0.4395, allocations: 3.984 kB / 494.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.4401, allocations: 193.2 kB / 494.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4413, allocations: 0.5022 MB / 495.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4416, allocations: 0.7841 MB / 496.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.4417, allocations: 22.08 kB / 496.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4418, allocations: 71.41 kB / 496.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4418, allocations: 0 / 496.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.4583, allocations: 4.669 MB / 0.4892 GB, free: 8.055 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.4585, allocations: 160.9 kB / 0.4893 GB, free: 7.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.142, allocations: 3.5 kB / 0.4893 GB, free: 7.836 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