Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",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.003032/0.003032, allocations: 181.6 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.274/2.274, allocations: 205.2 MB / 219 MB, free: 9.137 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.001233/0.001232, allocations: 93 kB / 267.1 MB, free: 9.27 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.1429/0.1429, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-05/5.503e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5478, allocations: 77.67 MB / 0.5021 GB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5482, allocations: 74.98 kB / 0.5022 GB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003818/0.552, allocations: 1.06 MB / 0.5032 GB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5521, allocations: 0 / 0.5032 GB, free: 11.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5521, allocations: 7.781 kB / 0.5032 GB, free: 11.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003498/0.5525, allocations: 340.9 kB / 0.5035 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5525, allocations: 9.781 kB / 0.5035 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.5526, allocations: 33.62 kB / 0.5036 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.5526, allocations: 7.75 kB / 0.5036 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.5528, allocations: 195.8 kB / 0.5038 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5529, allocations: 3.953 kB / 0.5038 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.5529, allocations: 7.781 kB / 0.5038 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5532, allocations: 104.8 kB / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5532, allocations: 0 / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5532, allocations: 0 / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5532, allocations: 0 / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.5533, allocations: 11.5 kB / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.5536, allocations: 267.3 kB / 0.5041 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5538, allocations: 131.6 kB / 0.5043 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.5539, allocations: 28.66 kB / 0.5043 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.5539, allocations: 3.812 kB / 0.5043 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.5539, allocations: 41.12 kB / 0.5043 GB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.554, allocations: 0 / 0.5043 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000194/0.5542, allocations: 58.36 kB / 0.5044 GB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5542, allocations: 77.11 kB / 0.5045 GB, free: 10.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.5544, allocations: 124.7 kB / 0.5046 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5544, allocations: 29.73 kB / 0.5046 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.5544, allocations: 88.02 kB / 0.5047 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.5544, allocations: 3.906 kB / 0.5047 GB, free: 9.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5545, allocations: 0 / 0.5047 GB, free: 9.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.5545, allocations: 321.1 kB / 0.505 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.5546, allocations: 0 / 0.505 GB, free: 9.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.5546, allocations: 26.19 kB / 0.505 GB, free: 9.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.5546, allocations: 21.7 kB / 0.5051 GB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5547, allocations: 3.938 kB / 0.5051 GB, free: 9.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.5548, allocations: 50.39 kB / 0.5051 GB, free: 9.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5548, allocations: 7.75 kB / 0.5051 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5548, allocations: 0 / 0.5051 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5549, allocations: 4.125 kB / 0.5051 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-05/0.5549, allocations: 3.969 kB / 0.5051 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5549, allocations: 2.25 kB / 0.5051 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.555, allocations: 4.75 kB / 0.5051 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.555, allocations: 0.625 kB / 0.5051 GB, free: 9.602 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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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.327e-05/0.5551, allocations: 123.8 kB / 0.5052 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.5552, allocations: 48.2 kB / 0.5053 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.5552, allocations: 7.891 kB / 0.5053 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5553, allocations: 10.55 kB / 0.5053 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5553, allocations: 4 kB / 0.5053 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5553, allocations: 0 / 0.5053 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5555, allocations: 158.1 kB / 0.5055 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5555, allocations: 10.34 kB / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.5555, allocations: 2.688 kB / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5555, allocations: 0 / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.5555, allocations: 0 / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5556, allocations: 3.75 kB / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5556, allocations: 0 / 0.5055 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5557, allocations: 176.6 kB / 0.5056 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.5558, allocations: 87.3 kB / 0.5057 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.5558, allocations: 3.844 kB / 0.5057 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.5559, allocations: 0 / 0.5057 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.556, allocations: 3.844 kB / 0.5057 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.556, allocations: 0 / 0.5057 GB, free: 8.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.5561, allocations: 102.5 kB / 0.5058 GB, free: 8.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5561, allocations: 7.938 kB / 0.5058 GB, free: 8.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5564, allocations: 3.656 kB / 0.5058 GB, free: 8.895 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: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * 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.0004738/0.5569, allocations: 0.766 MB / 0.5066 GB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.557, allocations: 26.81 kB / 0.5066 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.557, allocations: 0 / 0.5066 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.5571, allocations: 6.812 kB / 0.5066 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.5574, allocations: 13.2 kB / 0.5066 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.5579, allocations: 132 kB / 0.5068 GB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.5581, allocations: 0.6952 MB / 0.5074 GB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.5581, allocations: 8 kB / 0.5075 GB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.5582, allocations: 16.42 kB / 0.5075 GB, free: 7.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5582, allocations: 0 / 0.5075 GB, free: 7.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.5814, allocations: 1.219 MB / 0.5087 GB, free: 7 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.5818, allocations: 175.9 kB / 0.5088 GB, free: 6.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.928, allocations: 7.844 kB / 0.5088 GB, free: 6.77 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat