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.001527/0.001531, allocations: 180.8 kB / 13.23 MB, free: 2.082 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.026/2.026, allocations: 205.2 MB / 219 MB, free: 9.199 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.001103/0.001103, allocations: 90.53 kB / 267.1 MB, free: 9.273 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.1078/0.1078, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.541e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.5872, allocations: 78.67 MB / 0.5031 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5876, allocations: 74.92 kB / 0.5032 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.6045, allocations: 4.14 MB / 0.5072 GB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6046, allocations: 0 / 0.5072 GB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.6046, allocations: 3.844 kB / 0.5072 GB, free: 11.24 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000467/0.6051, allocations: 392.2 kB / 0.5076 GB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6051, allocations: 11.69 kB / 0.5076 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.6052, allocations: 44.08 kB / 0.5076 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.6053, allocations: 19.19 kB / 0.5076 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.6055, allocations: 208.1 kB / 0.5078 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6056, allocations: 11.48 kB / 0.5079 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.6056, allocations: 11.19 kB / 0.5079 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.6061, allocations: 257.4 kB / 0.5081 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6062, allocations: 0 / 0.5081 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.6062, allocations: 0 / 0.5081 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6062, allocations: 7.969 kB / 0.5081 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6063, allocations: 43.52 kB / 0.5082 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.6068, allocations: 306 kB / 0.5084 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.607, allocations: 148.6 kB / 0.5086 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.6072, allocations: 71.48 kB / 0.5087 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.6072, allocations: 3.828 kB / 0.5087 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.6073, allocations: 37.03 kB / 0.5087 GB, free: 9.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.6073, allocations: 0 / 0.5087 GB, free: 9.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003812/0.6077, allocations: 133.8 kB / 0.5088 GB, free: 9.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.6078, allocations: 117.7 kB / 0.5089 GB, free: 9.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.6079, allocations: 135.2 kB / 0.5091 GB, free: 9.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6079, allocations: 25.7 kB / 0.5091 GB, free: 9.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.608, allocations: 98.84 kB / 0.5092 GB, free: 9.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.608, allocations: 18.08 kB / 0.5092 GB, free: 9.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.608, allocations: 0 / 0.5092 GB, free: 9.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.6081, allocations: 332.9 kB / 0.5095 GB, free: 9.234 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.6082, allocations: 22.06 kB / 0.5095 GB, free: 9.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6083, allocations: 124.6 kB / 0.5097 GB, free: 9.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.6084, allocations: 40.28 kB / 0.5097 GB, free: 9.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6084, allocations: 3.781 kB / 0.5097 GB, free: 9.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003056/0.6088, allocations: 168.5 kB / 0.5099 GB, free: 9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6088, allocations: 7.656 kB / 0.5099 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6088, allocations: 3.922 kB / 0.5099 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6088, allocations: 3.906 kB / 0.5099 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.609, allocations: 34.83 kB / 0.5099 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.6091, allocations: 19.55 kB / 0.5099 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.6092, allocations: 15.06 kB / 0.5099 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.6092, allocations: 11.67 kB / 0.51 GB, free: 8.973 MB / 330.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.825e-05/0.6093, allocations: 122.6 kB / 0.5101 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.6096, allocations: 115.9 kB / 0.5102 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.6096, allocations: 20.2 kB / 0.5102 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6096, allocations: 3.906 kB / 0.5102 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6097, allocations: 0 / 0.5102 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6097, allocations: 4 kB / 0.5102 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.6099, allocations: 203.9 kB / 0.5104 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6099, allocations: 0 / 0.5104 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.6101, allocations: 23.02 kB / 0.5104 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.6101, allocations: 3.844 kB / 0.5104 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.6101, allocations: 3.812 kB / 0.5104 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6102, allocations: 7.938 kB / 0.5104 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6102, allocations: 3.938 kB / 0.5104 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.6105, allocations: 266.9 kB / 0.5107 GB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.6106, allocations: 100.1 kB / 0.5108 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.6106, allocations: 10.84 kB / 0.5108 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.6107, allocations: 7.062 kB / 0.5108 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.6108, allocations: 0 / 0.5108 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6108, allocations: 7.766 kB / 0.5108 GB, free: 8.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.6109, allocations: 121 kB / 0.5109 GB, free: 8.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6109, allocations: 0 / 0.5109 GB, free: 8.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.6113, allocations: 26.28 kB / 0.511 GB, free: 8.16 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: 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.0006576/0.612, allocations: 0.9877 MB / 0.5119 GB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.6122, allocations: 90.38 kB / 0.512 GB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6123, allocations: 4.875 kB / 0.512 GB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.6123, allocations: 0 / 0.512 GB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.6128, allocations: 82.5 kB / 0.5121 GB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.6135, allocations: 220 kB / 0.5123 GB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.6137, allocations: 0.7255 MB / 0.513 GB, free: 6.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.431e-05/0.6137, allocations: 17.12 kB / 0.513 GB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.6138, allocations: 34.42 kB / 0.5131 GB, free: 6.348 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6138, allocations: 0 / 0.5131 GB, free: 6.348 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.6398, allocations: 2.426 MB / 0.5154 GB, free: 5.105 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.6402, allocations: 167 kB / 0.5156 GB, free: 4.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.062, allocations: 0 / 0.5156 GB, free: 4.887 MB / 330.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