Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 180.2 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 94.84 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09618/0.09618, allocations: 12.61 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005429/0.000543, allocations: 13.97 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08964, allocations: 50.38 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.2538, allocations: 78.75 MB / 0.509 GB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004424/0.2544, allocations: 83.95 kB / 0.5091 GB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.2803, allocations: 4.162 MB / 0.5132 GB, free: 7.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2804, allocations: 0 / 0.5132 GB, free: 7.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.2804, allocations: 0 / 0.5132 GB, free: 7.723 MB / 362.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.0006544/0.2811, allocations: 418.8 kB / 0.5136 GB, free: 7.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2811, allocations: 12.03 kB / 0.5136 GB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.2812, allocations: 50.48 kB / 0.5136 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.2813, allocations: 15.81 kB / 0.5136 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2816, allocations: 198.9 kB / 0.5138 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.2816, allocations: 11.95 kB / 0.5138 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2817, allocations: 12 kB / 0.5138 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.2824, allocations: 273.2 kB / 0.5141 GB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2824, allocations: 7.875 kB / 0.5141 GB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.2824, allocations: 4 kB / 0.5141 GB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2825, allocations: 4 kB / 0.5141 GB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.2827, allocations: 51.97 kB / 0.5142 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.2833, allocations: 322.4 kB / 0.5145 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.2837, allocations: 135.8 kB / 0.5146 GB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.2837, allocations: 8.141 kB / 0.5146 GB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2838, allocations: 34.56 kB / 0.5146 GB, free: 5.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.837e-06/0.2838, allocations: 0 / 0.5146 GB, free: 5.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006459/0.2844, allocations: 181.3 kB / 0.5148 GB, free: 5.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2846, allocations: 118.8 kB / 0.5149 GB, free: 5.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.2848, allocations: 133.4 kB / 0.5151 GB, free: 5.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2848, allocations: 37.83 kB / 0.5151 GB, free: 5.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.2849, allocations: 84.3 kB / 0.5152 GB, free: 5.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.2849, allocations: 23.78 kB / 0.5152 GB, free: 5.371 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.2849, allocations: 4.375 kB / 0.5152 GB, free: 5.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2851, allocations: 326.8 kB / 0.5155 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2852, allocations: 28.36 kB / 0.5155 GB, free: 5.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2854, allocations: 139.1 kB / 0.5157 GB, free: 4.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2856, allocations: 55.86 kB / 0.5157 GB, free: 4.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2856, allocations: 0 / 0.5157 GB, free: 4.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004637/0.2861, allocations: 185.5 kB / 0.5159 GB, free: 4.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2861, allocations: 8 kB / 0.5159 GB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2862, allocations: 4 kB / 0.5159 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2862, allocations: 4 kB / 0.5159 GB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2864, allocations: 31.92 kB / 0.516 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2864, allocations: 4 kB / 0.516 GB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2866, allocations: 15.91 kB / 0.516 GB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.2866, allocations: 8 kB / 0.516 GB, free: 4.508 MB / 362.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 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * 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.0001652/0.2868, allocations: 153.6 kB / 0.5161 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.2871, allocations: 117.4 kB / 0.5162 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.2871, allocations: 16.72 kB / 0.5163 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.2872, allocations: 4 kB / 0.5163 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2872, allocations: 0 / 0.5163 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2872, allocations: 0 / 0.5163 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.2875, allocations: 197.6 kB / 0.5164 GB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2875, allocations: 3.938 kB / 0.5164 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.2877, allocations: 31.92 kB / 0.5165 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2877, allocations: 8 kB / 0.5165 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2877, allocations: 7.984 kB / 0.5165 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2878, allocations: 4 kB / 0.5165 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-05/0.2878, allocations: 0 / 0.5165 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.2883, allocations: 283.2 kB / 0.5168 GB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2884, allocations: 104.9 kB / 0.5169 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.2885, allocations: 4 kB / 0.5169 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2886, allocations: 8 kB / 0.5169 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2887, allocations: 4 kB / 0.5169 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2887, allocations: 7.984 kB / 0.5169 GB, free: 3.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2888, allocations: 119.9 kB / 0.517 GB, free: 3.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2888, allocations: 4 kB / 0.517 GB, free: 3.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.2892, allocations: 23.98 kB / 0.517 GB, free: 3.309 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * 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.001087/0.2903, allocations: 1.004 MB / 0.518 GB, free: 2.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.2907, allocations: 112.8 kB / 0.5181 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2907, allocations: 0 / 0.5181 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.2908, allocations: 12 kB / 0.5181 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.2913, allocations: 75.89 kB / 0.5182 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2777/0.5691, allocations: 3.212 MB / 0.5213 GB, free: 85.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.5694, allocations: 0.7205 MB / 0.522 GB, free: 84.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.5695, allocations: 14.17 kB / 0.5221 GB, free: 84.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.5696, allocations: 38.7 kB / 0.5221 GB, free: 84.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5696, allocations: 0 / 0.5221 GB, free: 84.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.5995, allocations: 2.397 MB / 0.5244 GB, free: 84.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.5999, allocations: 205.2 kB / 0.5246 GB, free: 83.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.017, allocations: 0 / 0.5246 GB, free: 83.86 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat