Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.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.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",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.002336/0.002336, allocations: 181.2 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.247/2.247, allocations: 205.2 MB / 219 MB, free: 9.215 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.001173/0.001173, allocations: 96.8 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.1123/0.1123, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.458e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09572, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.557, allocations: 81.85 MB / 0.5062 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5573, allocations: 80.3 kB / 0.5063 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.5813, allocations: 5.868 MB / 0.512 GB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5813, allocations: 0 / 0.512 GB, free: 9.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.5814, allocations: 3.656 kB / 0.512 GB, free: 9.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006755/0.5821, allocations: 482.9 kB / 0.5124 GB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5821, allocations: 11.38 kB / 0.5125 GB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.5822, allocations: 41.92 kB / 0.5125 GB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.5823, allocations: 23.31 kB / 0.5125 GB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.5828, allocations: 264.8 kB / 0.5128 GB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5828, allocations: 7.797 kB / 0.5128 GB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5828, allocations: 7.156 kB / 0.5128 GB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.5832, allocations: 154.7 kB / 0.5129 GB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5832, allocations: 4 kB / 0.5129 GB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.5833, allocations: 0 / 0.5129 GB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5833, allocations: 3.812 kB / 0.5129 GB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.5835, allocations: 35.88 kB / 0.513 GB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.5841, allocations: 468.4 kB / 0.5134 GB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.5844, allocations: 124.9 kB / 0.5135 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5845, allocations: 61.3 kB / 0.5136 GB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5845, allocations: 3.812 kB / 0.5136 GB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.5847, allocations: 87.86 kB / 0.5137 GB, free: 7.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.5847, allocations: 4 kB / 0.5137 GB, free: 7.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003665/0.5851, allocations: 125.6 kB / 0.5138 GB, free: 7.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.5852, allocations: 165.5 kB / 0.514 GB, free: 7.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.5855, allocations: 239 kB / 0.5142 GB, free: 7.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5856, allocations: 29.58 kB / 0.5142 GB, free: 7.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.5857, allocations: 114.7 kB / 0.5143 GB, free: 7.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.5857, allocations: 29.8 kB / 0.5144 GB, free: 7.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5857, allocations: 0 / 0.5144 GB, free: 7.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.5858, allocations: 334.2 kB / 0.5147 GB, free: 6.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.5859, allocations: 22.34 kB / 0.5147 GB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.586, allocations: 79.23 kB / 0.5148 GB, free: 6.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.5861, allocations: 34.83 kB / 0.5148 GB, free: 6.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5861, allocations: 0 / 0.5148 GB, free: 6.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.5864, allocations: 124.5 kB / 0.5149 GB, free: 6.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5864, allocations: 3.969 kB / 0.5149 GB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5865, allocations: 8 kB / 0.5149 GB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5865, allocations: 0 / 0.5149 GB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5866, allocations: 19.45 kB / 0.515 GB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5867, allocations: 3.875 kB / 0.515 GB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.5868, allocations: 11.12 kB / 0.515 GB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.5868, allocations: 3.938 kB / 0.515 GB, free: 6.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample.u,shiftSample.y,hold.u,hold.y,shiftSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.525e-05/0.5869, allocations: 120.3 kB / 0.5151 GB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5871, allocations: 72.41 kB / 0.5152 GB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.5874, allocations: 118.1 kB / 0.5153 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5874, allocations: 3.844 kB / 0.5153 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5874, allocations: 0 / 0.5153 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5875, allocations: 3.875 kB / 0.5153 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.5877, allocations: 239.1 kB / 0.5155 GB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5877, allocations: 3.938 kB / 0.5155 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.5878, allocations: 10.88 kB / 0.5155 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.5878, allocations: 0 / 0.5155 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.5878, allocations: 3.844 kB / 0.5155 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5879, allocations: 4.062 kB / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5879, allocations: 3.844 kB / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.5882, allocations: 217.8 kB / 0.5157 GB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5883, allocations: 114.5 kB / 0.5159 GB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.5884, allocations: 0 / 0.5159 GB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5885, allocations: 15.48 kB / 0.5159 GB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.5886, allocations: 7.797 kB / 0.5159 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.5886, allocations: 7.938 kB / 0.5159 GB, free: 6.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002552/0.5889, allocations: 194.5 kB / 0.5161 GB, free: 5.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5889, allocations: 0 / 0.5161 GB, free: 5.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.5893, allocations: 45.89 kB / 0.5161 GB, free: 5.945 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample.u,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001563/0.5909, allocations: 1.226 MB / 0.5173 GB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5912, allocations: 77.8 kB / 0.5174 GB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5913, allocations: 0 / 0.5174 GB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.5914, allocations: 34.31 kB / 0.5174 GB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.5919, allocations: 59.58 kB / 0.5175 GB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.5928, allocations: 316.1 kB / 0.5178 GB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.593, allocations: 0.7345 MB / 0.5185 GB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.5931, allocations: 24.67 kB / 0.5185 GB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5933, allocations: 57.78 kB / 0.5186 GB, free: 3.852 MB / 330.7 MB Notification: Performance of SimCode: time 1.674e-06/0.5933, allocations: 0 / 0.5186 GB, free: 3.852 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.6237, allocations: 4.235 MB / 0.5227 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.624, allocations: 221.6 kB / 0.5229 GB, free: 0.5352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.355, allocations: 0 / 0.5229 GB, free: 0.5352 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat