Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",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.001537/0.001537, allocations: 181.4 kB / 13.23 MB, free: 2.086 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.128/2.128, allocations: 205.2 MB / 219 MB, free: 9.195 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.001099/0.001099, allocations: 94.11 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1105/0.1105, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.777e-05, allocations: 8 kB / 386.1 MB, free: 69.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09775, allocations: 50.37 MB / 436.5 MB, free: 19.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.554, allocations: 79.15 MB / 0.5035 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5544, allocations: 76.7 kB / 0.5036 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.5766, allocations: 5.201 MB / 0.5087 GB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5767, allocations: 3.75 kB / 0.5087 GB, free: 10.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.5768, allocations: 7.656 kB / 0.5087 GB, free: 10.25 MB / 330.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.0007799/0.5775, allocations: 468.9 kB / 0.5091 GB, free: 9.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5776, allocations: 11.53 kB / 0.5092 GB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.5777, allocations: 55.95 kB / 0.5092 GB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.5778, allocations: 27.22 kB / 0.5092 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5781, allocations: 247.5 kB / 0.5095 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.5782, allocations: 11.22 kB / 0.5095 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.5782, allocations: 18.56 kB / 0.5095 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5794, allocations: 0.5992 MB / 0.5101 GB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5795, allocations: 7.797 kB / 0.5101 GB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.5795, allocations: 3.562 kB / 0.5101 GB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.5796, allocations: 18.27 kB / 0.5101 GB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.58, allocations: 159 kB / 0.5103 GB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.5806, allocations: 378 kB / 0.5106 GB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.5811, allocations: 221.5 kB / 0.5108 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.5814, allocations: 153.7 kB / 0.511 GB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.5814, allocations: 11.66 kB / 0.511 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5815, allocations: 41.53 kB / 0.511 GB, free: 8.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.457e-06/0.5815, allocations: 3.938 kB / 0.511 GB, free: 8.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007279/0.5822, allocations: 296.7 kB / 0.5113 GB, free: 8.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5824, allocations: 137 kB / 0.5115 GB, free: 8.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.5825, allocations: 143.7 kB / 0.5116 GB, free: 8.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5826, allocations: 40.36 kB / 0.5116 GB, free: 8.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.5826, allocations: 99.38 kB / 0.5117 GB, free: 8.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.5827, allocations: 45.72 kB / 0.5118 GB, free: 8.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.5827, allocations: 7.438 kB / 0.5118 GB, free: 8.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.5828, allocations: 333.5 kB / 0.5121 GB, free: 7.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.583, allocations: 65.89 kB / 0.5122 GB, free: 7.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.5832, allocations: 315.6 kB / 0.5125 GB, free: 7.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.5835, allocations: 134.6 kB / 0.5126 GB, free: 7.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5835, allocations: 3.875 kB / 0.5126 GB, free: 7.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006934/0.5842, allocations: 381.3 kB / 0.513 GB, free: 7.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5843, allocations: 11.56 kB / 0.513 GB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5843, allocations: 7.781 kB / 0.513 GB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.5843, allocations: 15.53 kB / 0.513 GB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.5848, allocations: 85.28 kB / 0.5131 GB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.5848, allocations: 19.64 kB / 0.5131 GB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5851, allocations: 26.31 kB / 0.5131 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5851, allocations: 26.77 kB / 0.5131 GB, free: 7.438 MB / 330.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.000138/0.5852, allocations: 142.8 kB / 0.5133 GB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000606/0.5859, allocations: 291.4 kB / 0.5135 GB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.586, allocations: 45.11 kB / 0.5136 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.586, allocations: 3.875 kB / 0.5136 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.586, allocations: 0 / 0.5136 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.586, allocations: 3.984 kB / 0.5136 GB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.5863, allocations: 245.1 kB / 0.5138 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5863, allocations: 7.844 kB / 0.5138 GB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.5868, allocations: 68.8 kB / 0.5139 GB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.5868, allocations: 0 / 0.5139 GB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.5869, allocations: 10.88 kB / 0.5139 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.5869, allocations: 0 / 0.5139 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5869, allocations: 3.875 kB / 0.5139 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.5875, allocations: 439.5 kB / 0.5143 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.5877, allocations: 137.5 kB / 0.5145 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.5878, allocations: 14.31 kB / 0.5145 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.588, allocations: 22.48 kB / 0.5145 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.5881, allocations: 0 / 0.5145 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.5881, allocations: 19.53 kB / 0.5145 GB, free: 6.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.5882, allocations: 123.8 kB / 0.5146 GB, free: 6.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5882, allocations: 0 / 0.5146 GB, free: 6.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005347/0.5888, allocations: 51.09 kB / 0.5147 GB, free: 6.488 MB / 330.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.00127/0.5901, allocations: 1.301 MB / 0.516 GB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.5907, allocations: 258.1 kB / 0.5162 GB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5907, allocations: 0 / 0.5162 GB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.5908, allocations: 7.797 kB / 0.5162 GB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.5915, allocations: 201.3 kB / 0.5164 GB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.5932, allocations: 0.4905 MB / 0.5169 GB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5935, allocations: 0.7801 MB / 0.5176 GB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.5936, allocations: 25.62 kB / 0.5177 GB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5938, allocations: 73.97 kB / 0.5177 GB, free: 4.445 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5938, allocations: 0 / 0.5177 GB, free: 4.445 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.6193, allocations: 4.68 MB / 0.5223 GB, free: 1.078 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.6197, allocations: 174.9 kB / 0.5225 GB, free: 0.8516 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.287, allocations: 0 / 0.5225 GB, free: 0.8516 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat