Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",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.002399/0.002399, allocations: 181.5 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.145/2.145, allocations: 205.2 MB / 219 MB, free: 9.211 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.001129/0.001129, allocations: 92.34 kB / 267.1 MB, free: 9.277 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.1646/0.1646, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.767e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5538, allocations: 78.26 MB / 0.5027 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5542, allocations: 80 kB / 0.5028 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007913/0.5621, allocations: 1.986 MB / 0.5047 GB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5622, allocations: 0 / 0.5047 GB, free: 11.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.5622, allocations: 3.844 kB / 0.5047 GB, free: 11.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003847/0.5626, allocations: 353.8 kB / 0.505 GB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5626, allocations: 11.62 kB / 0.505 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.5627, allocations: 45.06 kB / 0.5051 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.5627, allocations: 11.66 kB / 0.5051 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.563, allocations: 199.7 kB / 0.5053 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.563, allocations: 0 / 0.5053 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.563, allocations: 7.219 kB / 0.5053 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.5633, allocations: 105.3 kB / 0.5054 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5633, allocations: 0 / 0.5054 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5633, allocations: 3.969 kB / 0.5054 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5634, allocations: 2.391 kB / 0.5054 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.5634, allocations: 15.16 kB / 0.5054 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.5638, allocations: 283.8 kB / 0.5057 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.564, allocations: 62.55 kB / 0.5057 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.5641, allocations: 28.14 kB / 0.5058 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.5641, allocations: 3.844 kB / 0.5058 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5641, allocations: 41.08 kB / 0.5058 GB, free: 10.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.5641, allocations: 0 / 0.5058 GB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.5644, allocations: 60.98 kB / 0.5059 GB, free: 10.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.5644, allocations: 106.3 kB / 0.506 GB, free: 9.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.5646, allocations: 136.2 kB / 0.5061 GB, free: 9.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5646, allocations: 29.7 kB / 0.5061 GB, free: 9.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.5646, allocations: 90.58 kB / 0.5062 GB, free: 9.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.5647, allocations: 6.281 kB / 0.5062 GB, free: 9.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5647, allocations: 0 / 0.5062 GB, free: 9.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.5648, allocations: 316.8 kB / 0.5065 GB, free: 9.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.5648, allocations: 3.844 kB / 0.5065 GB, free: 9.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.5648, allocations: 34.41 kB / 0.5066 GB, free: 9.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.5649, allocations: 17.7 kB / 0.5066 GB, free: 9.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5649, allocations: 0 / 0.5066 GB, free: 9.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.565, allocations: 58.72 kB / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5651, allocations: 3.844 kB / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5651, allocations: 0 / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5652, allocations: 7.969 kB / 0.5066 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.5654, allocations: 10.27 kB / 0.5067 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5654, allocations: 3.938 kB / 0.5067 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.5656, allocations: 9.938 kB / 0.5067 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.5657, allocations: 7.797 kB / 0.5067 GB, free: 9.301 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001141/0.5658, allocations: 104.8 kB / 0.5068 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.5663, allocations: 55 kB / 0.5068 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.5664, allocations: 14.62 kB / 0.5068 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.5664, allocations: 2.531 kB / 0.5068 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5665, allocations: 4 kB / 0.5069 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5665, allocations: 3.844 kB / 0.5069 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.5671, allocations: 168.3 kB / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.5671, allocations: 3.844 kB / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5673, allocations: 13.98 kB / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.5673, allocations: 0 / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5673, allocations: 0 / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.5673, allocations: 6.422 kB / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5674, allocations: 0 / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.5676, allocations: 196.6 kB / 0.5072 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.5676, allocations: 101.6 kB / 0.5073 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5677, allocations: 0 / 0.5073 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5678, allocations: 7.844 kB / 0.5073 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.5678, allocations: 7.094 kB / 0.5073 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5679, allocations: 3.781 kB / 0.5073 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.568, allocations: 108.6 kB / 0.5074 GB, free: 8.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.568, allocations: 0 / 0.5074 GB, free: 8.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.5683, allocations: 3.812 kB / 0.5074 GB, free: 8.574 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003683/0.5687, allocations: 0.8615 MB / 0.5083 GB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.5688, allocations: 21.59 kB / 0.5083 GB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5688, allocations: 3.938 kB / 0.5083 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.5689, allocations: 15.12 kB / 0.5083 GB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.5692, allocations: 22.02 kB / 0.5083 GB, free: 7.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.5697, allocations: 139.4 kB / 0.5085 GB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.5699, allocations: 0.6988 MB / 0.5092 GB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.5699, allocations: 6.922 kB / 0.5092 GB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.57, allocations: 19.81 kB / 0.5092 GB, free: 6.867 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.57, allocations: 0 / 0.5092 GB, free: 6.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.5898, allocations: 1.419 MB / 0.5106 GB, free: 6.395 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.5901, allocations: 171 kB / 0.5107 GB, free: 6.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.991, allocations: 3.906 kB / 0.5107 GB, free: 6.168 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat