Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.002751/0.002751, allocations: 181 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.136/2.136, allocations: 205.2 MB / 219 MB, free: 9.207 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.001097/0.001096, allocations: 89.86 kB / 267.1 MB, free: 9.281 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.1074/0.1074, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/3.992e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09713, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5619, allocations: 78.27 MB / 0.5027 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5623, allocations: 76.09 kB / 0.5028 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007813/0.5701, allocations: 1.98 MB / 0.5047 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5702, allocations: 0 / 0.5047 GB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.5702, allocations: 0 / 0.5047 GB, free: 11.61 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.0003957/0.5706, allocations: 362.6 kB / 0.505 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5707, allocations: 7.812 kB / 0.505 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.5707, allocations: 34.56 kB / 0.5051 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.5708, allocations: 15.44 kB / 0.5051 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.571, allocations: 198.2 kB / 0.5053 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.571, allocations: 10.62 kB / 0.5053 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5711, allocations: 7.781 kB / 0.5053 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.5714, allocations: 105.1 kB / 0.5054 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5714, allocations: 3.984 kB / 0.5054 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5714, allocations: 0 / 0.5054 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5714, allocations: 3.844 kB / 0.5054 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.5715, allocations: 14.78 kB / 0.5054 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.572, allocations: 279.5 kB / 0.5057 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.5721, allocations: 76.39 kB / 0.5058 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.5722, allocations: 25.89 kB / 0.5058 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.5722, allocations: 0 / 0.5058 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.5722, allocations: 38.22 kB / 0.5058 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.5723, allocations: 0 / 0.5058 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002277/0.5725, allocations: 63 kB / 0.5059 GB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.5726, allocations: 109.9 kB / 0.506 GB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.5727, allocations: 129.3 kB / 0.5061 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5727, allocations: 33.64 kB / 0.5061 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.5728, allocations: 90.48 kB / 0.5062 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.5728, allocations: 0 / 0.5062 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5729, allocations: 0 / 0.5062 GB, free: 10.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.5729, allocations: 321.7 kB / 0.5065 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.573, allocations: 3.875 kB / 0.5065 GB, free: 9.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.573, allocations: 26.78 kB / 0.5066 GB, free: 9.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.5731, allocations: 18.56 kB / 0.5066 GB, free: 9.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5731, allocations: 3.094 kB / 0.5066 GB, free: 9.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.5732, allocations: 63.89 kB / 0.5066 GB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5733, allocations: 3.812 kB / 0.5066 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5733, allocations: 0.625 kB / 0.5066 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5733, allocations: 4.031 kB / 0.5067 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5735, allocations: 11.66 kB / 0.5067 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5735, allocations: 7.141 kB / 0.5067 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.5736, allocations: 3.875 kB / 0.5067 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5736, allocations: 7.797 kB / 0.5067 GB, free: 9.676 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 6.556e-05/0.5737, allocations: 108.7 kB / 0.5068 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5738, allocations: 55.69 kB / 0.5068 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.5739, allocations: 6.969 kB / 0.5068 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5739, allocations: 11.12 kB / 0.5069 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5739, allocations: 0 / 0.5069 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5739, allocations: 0 / 0.5069 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.5741, allocations: 170.3 kB / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5741, allocations: 3.094 kB / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5742, allocations: 7.844 kB / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5742, allocations: 3.844 kB / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5743, allocations: 3.375 kB / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.5743, allocations: 0 / 0.507 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5743, allocations: 7.781 kB / 0.507 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.5745, allocations: 192 kB / 0.5072 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.5745, allocations: 97.11 kB / 0.5073 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.5746, allocations: 3.844 kB / 0.5073 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.5747, allocations: 5.922 kB / 0.5073 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.5747, allocations: 11.73 kB / 0.5073 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5748, allocations: 3.094 kB / 0.5073 GB, free: 9.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.5749, allocations: 105.2 kB / 0.5074 GB, free: 8.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5749, allocations: 0 / 0.5074 GB, free: 8.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.5752, allocations: 10.53 kB / 0.5075 GB, free: 8.953 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.0003844/0.5756, allocations: 0.8573 MB / 0.5083 GB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5757, allocations: 25.52 kB / 0.5083 GB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5757, allocations: 0 / 0.5083 GB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.5758, allocations: 4.125 kB / 0.5083 GB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.5761, allocations: 37.25 kB / 0.5084 GB, free: 8.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.5767, allocations: 132.4 kB / 0.5085 GB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.5769, allocations: 0.6986 MB / 0.5092 GB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.577, allocations: 10.78 kB / 0.5092 GB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.577, allocations: 22.41 kB / 0.5092 GB, free: 7.246 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5771, allocations: 0 / 0.5092 GB, free: 7.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.5997, allocations: 1.415 MB / 0.5106 GB, free: 6.754 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.6001, allocations: 181 kB / 0.5107 GB, free: 6.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.062, allocations: 0 / 0.5107 GB, free: 6.527 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat