Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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.001457/0.001457, allocations: 181 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001152/0.001151, allocations: 95.92 kB / 261.8 MB, free: 13.45 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.1161/0.1161, allocations: 12.59 MB / 322.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.078e-05, allocations: 4 kB / 379 MB, free: 75.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.565, allocations: 81.09 MB / 0.4985 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5654, allocations: 90.67 kB / 0.4986 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02507/0.5905, allocations: 6.268 MB / 0.5047 GB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5905, allocations: 192 / 0.5047 GB, free: 10.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.5906, allocations: 7.625 kB / 0.5048 GB, free: 10.7 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000633/0.5912, allocations: 474.7 kB / 0.5052 GB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5913, allocations: 11.69 kB / 0.5052 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.5913, allocations: 23.06 kB / 0.5052 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.5918, allocations: 260 kB / 0.5055 GB, free: 10 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.5919, allocations: 3.953 kB / 0.5055 GB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.5919, allocations: 11.36 kB / 0.5055 GB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001357/0.5921, allocations: 33.28 kB / 0.5055 GB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.5924, allocations: 132.2 kB / 0.5057 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5924, allocations: 3.984 kB / 0.5057 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.5924, allocations: 7.922 kB / 0.5057 GB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.5924, allocations: 3.812 kB / 0.5057 GB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.593, allocations: 343.1 kB / 0.506 GB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.5932, allocations: 101.8 kB / 0.5061 GB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.5933, allocations: 40.91 kB / 0.5061 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.5933, allocations: 7.844 kB / 0.5061 GB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.5935, allocations: 77.14 kB / 0.5062 GB, free: 9.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.5935, allocations: 0 / 0.5062 GB, free: 9.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003033/0.5938, allocations: 99.42 kB / 0.5063 GB, free: 9.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.5939, allocations: 143.4 kB / 0.5064 GB, free: 9.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.5942, allocations: 225.5 kB / 0.5067 GB, free: 9.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5942, allocations: 25.7 kB / 0.5067 GB, free: 9.062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.5943, allocations: 118.6 kB / 0.5068 GB, free: 8.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.5943, allocations: 22.95 kB / 0.5068 GB, free: 8.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.5944, allocations: 0 / 0.5068 GB, free: 8.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.5945, allocations: 325.3 kB / 0.5071 GB, free: 8.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.5945, allocations: 18.38 kB / 0.5072 GB, free: 8.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.5946, allocations: 70.94 kB / 0.5072 GB, free: 8.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.5947, allocations: 30 kB / 0.5072 GB, free: 8.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5947, allocations: 0 / 0.5072 GB, free: 8.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002118/0.5949, allocations: 109.2 kB / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.595, allocations: 7.75 kB / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.595, allocations: 0 / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.595, allocations: 0 / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.5951, allocations: 15.7 kB / 0.5074 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.5951, allocations: 3.938 kB / 0.5074 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.5953, allocations: 7.719 kB / 0.5074 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.5953, allocations: 7.062 kB / 0.5074 GB, free: 8.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.819e-05/0.5954, allocations: 118.7 kB / 0.5075 GB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002238/0.5956, allocations: 105.1 kB / 0.5076 GB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.5957, allocations: 23.39 kB / 0.5076 GB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.596, allocations: 102.1 kB / 0.5077 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.596, allocations: 3.844 kB / 0.5077 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.596, allocations: 192 / 0.5077 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.596, allocations: 7.922 kB / 0.5077 GB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.5962, allocations: 208.2 kB / 0.5079 GB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5962, allocations: 0 / 0.5079 GB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.5963, allocations: 11.98 kB / 0.5079 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5963, allocations: 3.688 kB / 0.5079 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5964, allocations: 0 / 0.5079 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5964, allocations: 3.844 kB / 0.508 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5964, allocations: 0 / 0.508 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.5966, allocations: 172 kB / 0.5081 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5968, allocations: 122.8 kB / 0.5082 GB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.5968, allocations: 7.531 kB / 0.5082 GB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5969, allocations: 7.672 kB / 0.5082 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.597, allocations: 3.844 kB / 0.5083 GB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.597, allocations: 3.812 kB / 0.5083 GB, free: 7.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.5973, allocations: 185.3 kB / 0.5084 GB, free: 7.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5973, allocations: 0 / 0.5084 GB, free: 7.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.5977, allocations: 38.2 kB / 0.5085 GB, free: 7.703 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: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001415/0.5991, allocations: 1.1 MB / 0.5095 GB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.5994, allocations: 63.3 kB / 0.5096 GB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5994, allocations: 0 / 0.5096 GB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.5995, allocations: 22.28 kB / 0.5096 GB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.6, allocations: 56.98 kB / 0.5097 GB, free: 6.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.6008, allocations: 296.5 kB / 0.51 GB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.6011, allocations: 0.7304 MB / 0.5107 GB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.6012, allocations: 24.91 kB / 0.5107 GB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.6013, allocations: 50.33 kB / 0.5107 GB, free: 5.738 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6013, allocations: 0 / 0.5107 GB, free: 5.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.6497, allocations: 3.635 MB / 0.5143 GB, free: 3.961 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.6501, allocations: 206.6 kB / 0.5145 GB, free: 3.715 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.232, allocations: 3.938 kB / 0.5145 GB, free: 3.711 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat