Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 175.9 kB / 8.347 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.276/1.276, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.0009671/0.000967, allocations: 91.62 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.965e-05, allocations: 4 kB / 337.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.09994, allocations: 50.42 MB / 387.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4277, allocations: 77.57 MB / 465.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.428, allocations: 75.95 kB / 465.2 MB, free: 1.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.4447, allocations: 5.555 MB / 470.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4448, allocations: 4 kB / 470.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4448, allocations: 7.938 kB / 470.8 MB, free: 11.48 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.000626/0.4454, allocations: 474.6 kB / 471.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4455, allocations: 8.031 kB / 471.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.4455, allocations: 27.7 kB / 471.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4458, allocations: 242.6 kB / 471.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4459, allocations: 8 kB / 471.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4459, allocations: 12 kB / 471.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002947/0.4462, allocations: 184.3 kB / 471.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.447, allocations: 0.5716 MB / 472.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.447, allocations: 0 / 472.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.4471, allocations: 0 / 472.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.4471, allocations: 12.5 kB / 472.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.4475, allocations: 330.9 kB / 472.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4478, allocations: 211.6 kB / 472.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.448, allocations: 134.7 kB / 473 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.448, allocations: 7.953 kB / 473 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4481, allocations: 46.5 kB / 473 MB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.4481, allocations: 0 / 473 MB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004563/0.4486, allocations: 274.4 kB / 473.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4487, allocations: 126.7 kB / 473.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4488, allocations: 141.5 kB / 473.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4488, allocations: 26.45 kB / 473.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4489, allocations: 100.9 kB / 473.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.4489, allocations: 47.66 kB / 473.7 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.4489, allocations: 0 / 473.7 MB, free: 8.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4491, allocations: 334.8 kB / 474 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4492, allocations: 56.86 kB / 474.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.4494, allocations: 297.9 kB / 474.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4495, allocations: 123.8 kB / 474.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.4495, allocations: 7.938 kB / 474.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004401/0.45, allocations: 329.7 kB / 474.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.45, allocations: 8.188 kB / 474.9 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.45, allocations: 19.95 kB / 474.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4501, allocations: 15.94 kB / 474.9 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.4503, allocations: 83.83 kB / 475 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4504, allocations: 15.94 kB / 475 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4505, allocations: 23.75 kB / 475 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.4505, allocations: 24 kB / 475 MB, free: 6.855 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 0.0001057/0.4506, allocations: 132.7 kB / 475.2 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000395/0.4511, allocations: 274.5 kB / 475.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.4511, allocations: 23.77 kB / 475.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.4512, allocations: 35.39 kB / 475.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4512, allocations: 7.984 kB / 475.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4512, allocations: 4 kB / 475.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4512, allocations: 0 / 475.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4514, allocations: 205.9 kB / 475.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4514, allocations: 0 / 475.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4517, allocations: 59.91 kB / 475.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4517, allocations: 4 kB / 475.8 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4518, allocations: 15.97 kB / 475.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4518, allocations: 4 kB / 475.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4518, allocations: 0 / 475.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.4522, allocations: 415.3 kB / 476.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4524, allocations: 132.8 kB / 476.3 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.4524, allocations: 11.98 kB / 476.3 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4526, allocations: 8 kB / 476.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.4526, allocations: 7.922 kB / 476.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4526, allocations: 8 kB / 476.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.4527, allocations: 131.2 kB / 476.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4527, allocations: 0 / 476.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.4531, allocations: 36 kB / 476.5 MB, free: 5.27 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: 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.001031/0.4541, allocations: 1.255 MB / 477.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.4545, allocations: 243.7 kB / 478 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4545, allocations: 0 / 478 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.4545, allocations: 10.25 kB / 478 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.4551, allocations: 175.7 kB / 478.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4562, allocations: 466.2 kB / 478.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4566, allocations: 0.7842 MB / 479.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.4566, allocations: 26.06 kB / 479.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4568, allocations: 67.41 kB / 479.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4568, allocations: 0 / 479.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.4807, allocations: 4.305 MB / 483.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/0.481, allocations: 153.1 kB / 484 MB, free: 13.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.252, allocations: 0 / 484 MB, free: 13.69 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat