Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001081/0.001081, allocations: 196 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.369/1.369, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000943/0.0009429, allocations: 86.81 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.45e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09594, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.5223, allocations: 78.33 MB / 480.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5226, allocations: 75.48 kB / 480.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.5402, allocations: 4.569 MB / 485.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5402, allocations: 0 / 485.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.5403, allocations: 7.938 kB / 485.1 MB, free: 7.355 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.0004632/0.5407, allocations: 395.8 kB / 485.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.5408, allocations: 12.03 kB / 485.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.5409, allocations: 41.8 kB / 485.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.5411, allocations: 32.58 kB / 485.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.5413, allocations: 215.3 kB / 485.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5414, allocations: 7.562 kB / 485.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.5414, allocations: 7.625 kB / 485.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.542, allocations: 244.8 kB / 486 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5421, allocations: 0 / 486 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.5421, allocations: 7.688 kB / 486.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5421, allocations: 3.984 kB / 486.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.5422, allocations: 42.86 kB / 486.1 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.5427, allocations: 312.1 kB / 486.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5429, allocations: 133.6 kB / 486.5 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.5431, allocations: 64.83 kB / 486.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.5431, allocations: 7.938 kB / 486.6 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.5431, allocations: 34.34 kB / 486.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.225e-06/0.5432, allocations: 0 / 486.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003557/0.5435, allocations: 134.1 kB / 486.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.5436, allocations: 122.5 kB / 486.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5438, allocations: 136.9 kB / 487 MB, free: 5.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5438, allocations: 25.7 kB / 487 MB, free: 5.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.5438, allocations: 95 kB / 487.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.5439, allocations: 23.17 kB / 487.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.5439, allocations: 0 / 487.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.544, allocations: 329.9 kB / 487.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.544, allocations: 16 kB / 487.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5441, allocations: 127.1 kB / 487.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/0.5443, allocations: 46.84 kB / 487.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5443, allocations: 4 kB / 487.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003218/0.5446, allocations: 162.4 kB / 487.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5446, allocations: 8 kB / 487.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5447, allocations: 7.938 kB / 487.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.5447, allocations: 5.688 kB / 487.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5449, allocations: 37.8 kB / 487.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5449, allocations: 8 kB / 487.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.545, allocations: 15.5 kB / 487.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.5451, allocations: 15.98 kB / 487.9 MB, free: 4.496 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 7.1e-05/0.5452, allocations: 125.5 kB / 488 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5454, allocations: 112.7 kB / 488.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.5455, allocations: 22.3 kB / 488.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5455, allocations: 4 kB / 488.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.5455, allocations: 0 / 488.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5455, allocations: 4 kB / 488.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5457, allocations: 202.5 kB / 488.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5457, allocations: 6.156 kB / 488.4 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5458, allocations: 27.73 kB / 488.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5459, allocations: 0 / 488.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5459, allocations: 4 kB / 488.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5459, allocations: 0 / 488.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5459, allocations: 0 / 488.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.5461, allocations: 266.5 kB / 488.7 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.5461, allocations: 106.1 kB / 488.8 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5462, allocations: 6.562 kB / 488.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.5463, allocations: 6.625 kB / 488.8 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5463, allocations: 0 / 488.8 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5463, allocations: 8.859 kB / 488.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.5464, allocations: 120.3 kB / 488.9 MB, free: 3.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5464, allocations: 4 kB / 488.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.5466, allocations: 19.5 kB / 489 MB, free: 3.469 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.0004649/0.5471, allocations: 0.9932 MB / 489.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.5473, allocations: 93.41 kB / 490 MB, free: 2.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5473, allocations: 0 / 490 MB, free: 2.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.5473, allocations: 12.44 kB / 490 MB, free: 2.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.5476, allocations: 76.81 kB / 490.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.5481, allocations: 231.6 kB / 490.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.5483, allocations: 0.724 MB / 491.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.5483, allocations: 5.219 kB / 491.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.5484, allocations: 38.92 kB / 491.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5484, allocations: 0 / 491.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.5643, allocations: 2.394 MB / 493.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.5646, allocations: 162.6 kB / 493.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.073, allocations: 0 / 493.7 MB, free: 14.94 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat