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.001662/0.001662, allocations: 181.4 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.1/2.1, allocations: 205.2 MB / 219 MB, free: 9.195 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.001183/0.001183, allocations: 86.61 kB / 267.1 MB, free: 9.266 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.1136/0.1136, allocations: 12.59 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.636e-05/4.664e-05, allocations: 4 kB / 386.1 MB, free: 69.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/0.6295, allocations: 81.76 MB / 0.5061 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6299, allocations: 82.61 kB / 0.5062 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03472/0.6646, allocations: 6.309 MB / 0.5123 GB, free: 9.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6647, allocations: 4 kB / 0.5123 GB, free: 9.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.6647, allocations: 7.594 kB / 0.5123 GB, free: 9.574 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.0007106/0.6654, allocations: 475.5 kB / 0.5128 GB, free: 9.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6655, allocations: 11.75 kB / 0.5128 GB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.6655, allocations: 32.75 kB / 0.5128 GB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.6656, allocations: 23.41 kB / 0.5129 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.6661, allocations: 258.4 kB / 0.5131 GB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6662, allocations: 19.42 kB / 0.5131 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.6662, allocations: 3.875 kB / 0.5131 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.6666, allocations: 148.8 kB / 0.5133 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6666, allocations: 0 / 0.5133 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.6666, allocations: 3.25 kB / 0.5133 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6666, allocations: 4 kB / 0.5133 GB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.6668, allocations: 32.89 kB / 0.5133 GB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.6674, allocations: 364.5 kB / 0.5137 GB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.6676, allocations: 110.5 kB / 0.5138 GB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.6677, allocations: 39.98 kB / 0.5138 GB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6677, allocations: 0 / 0.5138 GB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.6679, allocations: 80.52 kB / 0.5139 GB, free: 8.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.6679, allocations: 0 / 0.5139 GB, free: 8.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003713/0.6683, allocations: 112.5 kB / 0.514 GB, free: 8.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.6684, allocations: 132.3 kB / 0.5141 GB, free: 8.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.6688, allocations: 236.6 kB / 0.5143 GB, free: 7.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.6688, allocations: 25.7 kB / 0.5144 GB, free: 7.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.6689, allocations: 127.7 kB / 0.5145 GB, free: 7.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.6689, allocations: 22.88 kB / 0.5145 GB, free: 7.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.669, allocations: 3.438 kB / 0.5145 GB, free: 7.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.669, allocations: 333.5 kB / 0.5148 GB, free: 7.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.6691, allocations: 22.42 kB / 0.5148 GB, free: 7.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.6692, allocations: 70.66 kB / 0.5149 GB, free: 7.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.6693, allocations: 29.73 kB / 0.5149 GB, free: 7.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6694, allocations: 0 / 0.5149 GB, free: 7.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.6696, allocations: 116.3 kB / 0.5151 GB, free: 7.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6696, allocations: 3.875 kB / 0.5151 GB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6697, allocations: 8 kB / 0.5151 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.6697, allocations: 0 / 0.5151 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.6698, allocations: 19.42 kB / 0.5151 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6699, allocations: 0 / 0.5151 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.67, allocations: 7.719 kB / 0.5151 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.67, allocations: 3.812 kB / 0.5151 GB, free: 7.297 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 9.152e-05/0.6701, allocations: 119.9 kB / 0.5152 GB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.6702, allocations: 64.22 kB / 0.5153 GB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.6705, allocations: 110.5 kB / 0.5154 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6706, allocations: 3.875 kB / 0.5154 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6706, allocations: 3.984 kB / 0.5154 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6706, allocations: 0 / 0.5154 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.6708, allocations: 232.5 kB / 0.5156 GB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6708, allocations: 3.844 kB / 0.5156 GB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.6709, allocations: 7.344 kB / 0.5156 GB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6709, allocations: 3.938 kB / 0.5156 GB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.671, allocations: 7.953 kB / 0.5156 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.671, allocations: 7.969 kB / 0.5156 GB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.671, allocations: 0 / 0.5156 GB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.6713, allocations: 179.4 kB / 0.5158 GB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6714, allocations: 115 kB / 0.5159 GB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.6715, allocations: 14.22 kB / 0.5159 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6716, allocations: 7.188 kB / 0.5159 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.6717, allocations: 11.86 kB / 0.5159 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6717, allocations: 3.812 kB / 0.516 GB, free: 6.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.672, allocations: 195.8 kB / 0.5161 GB, free: 6.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.672, allocations: 0 / 0.5161 GB, free: 6.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.6723, allocations: 35.11 kB / 0.5162 GB, free: 6.477 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.001579/0.6739, allocations: 1.126 MB / 0.5173 GB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.6743, allocations: 71.8 kB / 0.5173 GB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6743, allocations: 4.062 kB / 0.5173 GB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.6744, allocations: 25.95 kB / 0.5174 GB, free: 5.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.675, allocations: 51.77 kB / 0.5174 GB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.6759, allocations: 305.4 kB / 0.5177 GB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.6761, allocations: 0.7345 MB / 0.5184 GB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.6763, allocations: 24 kB / 0.5184 GB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6764, allocations: 46.08 kB / 0.5185 GB, free: 4.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6764, allocations: 0 / 0.5185 GB, free: 4.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.7099, allocations: 4.083 MB / 0.5225 GB, free: 1.457 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.7103, allocations: 213.2 kB / 0.5227 GB, free: 1.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.335, allocations: 0 / 0.5227 GB, free: 1.234 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