Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.002889/0.002888, allocations: 181.1 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.26/2.26, allocations: 205.2 MB / 219 MB, free: 9.203 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.001177/0.001177, allocations: 82.62 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.11/0.11, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.144e-05, allocations: 8 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09934, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5592, allocations: 78.25 MB / 0.5027 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.5595, allocations: 77 kB / 0.5027 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007963/0.5675, allocations: 1.98 MB / 0.5047 GB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5675, allocations: 0 / 0.5047 GB, free: 11.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5676, allocations: 3.844 kB / 0.5047 GB, free: 11.51 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.0003856/0.568, allocations: 353.7 kB / 0.505 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.568, allocations: 7.688 kB / 0.505 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.5681, allocations: 45.39 kB / 0.5051 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.5681, allocations: 7.875 kB / 0.5051 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.5683, allocations: 192 kB / 0.5053 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.5684, allocations: 3.844 kB / 0.5053 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5684, allocations: 3.062 kB / 0.5053 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.5687, allocations: 93.77 kB / 0.5053 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5687, allocations: 4 kB / 0.5054 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5687, allocations: 3.844 kB / 0.5054 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5687, allocations: 0 / 0.5054 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.5688, allocations: 14.73 kB / 0.5054 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.5692, allocations: 268.9 kB / 0.5056 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.5692, allocations: 51.62 kB / 0.5057 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.5693, allocations: 20.56 kB / 0.5057 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.5693, allocations: 0 / 0.5057 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5694, allocations: 30.56 kB / 0.5057 GB, free: 10.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.5694, allocations: 0 / 0.5057 GB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001792/0.5696, allocations: 59.84 kB / 0.5058 GB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5696, allocations: 77.11 kB / 0.5059 GB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.5697, allocations: 129.4 kB / 0.506 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.5698, allocations: 25.7 kB / 0.506 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.5698, allocations: 91.67 kB / 0.5061 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.5698, allocations: 0 / 0.5061 GB, free: 10.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.5698, allocations: 0 / 0.5061 GB, free: 10.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.5699, allocations: 319.9 kB / 0.5064 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.57, allocations: 7.906 kB / 0.5064 GB, free: 9.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.57, allocations: 17.5 kB / 0.5064 GB, free: 9.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.5701, allocations: 7.844 kB / 0.5064 GB, free: 9.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5701, allocations: 0 / 0.5064 GB, free: 9.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.826e-05/0.5702, allocations: 53.5 kB / 0.5065 GB, free: 9.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5702, allocations: 3.844 kB / 0.5065 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5702, allocations: 4.125 kB / 0.5065 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5703, allocations: 0 / 0.5065 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5704, allocations: 7.656 kB / 0.5065 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5704, allocations: 0 / 0.5065 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.5705, allocations: 14.92 kB / 0.5065 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5705, allocations: 0 / 0.5065 GB, free: 9.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.502e-05/0.5706, allocations: 112.6 kB / 0.5066 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.5706, allocations: 40.7 kB / 0.5067 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.5707, allocations: 14.91 kB / 0.5067 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5707, allocations: 0 / 0.5067 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5707, allocations: 3.969 kB / 0.5067 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5707, allocations: 0 / 0.5067 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.5709, allocations: 166.6 kB / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5709, allocations: 0 / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.571, allocations: 11.02 kB / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.571, allocations: 0 / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.571, allocations: 2.812 kB / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.571, allocations: 0 / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5711, allocations: 3.844 kB / 0.5068 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.5712, allocations: 163.5 kB / 0.507 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.5713, allocations: 91.56 kB / 0.5071 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5713, allocations: 7.781 kB / 0.5071 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.5714, allocations: 0 / 0.5071 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5715, allocations: 11.75 kB / 0.5071 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5715, allocations: 0 / 0.5071 GB, free: 9.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.5716, allocations: 112.2 kB / 0.5072 GB, free: 9 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5716, allocations: 0 / 0.5072 GB, free: 9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.5719, allocations: 3.906 kB / 0.5072 GB, free: 9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003252/0.5722, allocations: 0.7608 MB / 0.508 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.5723, allocations: 10.97 kB / 0.508 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5723, allocations: 0 / 0.508 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.5724, allocations: 3.531 kB / 0.508 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.5727, allocations: 30.45 kB / 0.508 GB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.5732, allocations: 131.7 kB / 0.5081 GB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.5733, allocations: 0.6898 MB / 0.5088 GB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.5734, allocations: 4 kB / 0.5088 GB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.5735, allocations: 18.55 kB / 0.5088 GB, free: 7.395 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5735, allocations: 0 / 0.5088 GB, free: 7.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.5957, allocations: 1.292 MB / 0.5101 GB, free: 6.98 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.5961, allocations: 178.1 kB / 0.5103 GB, free: 6.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.963, allocations: 4 kB / 0.5103 GB, free: 6.75 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat