Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 175.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008419, allocations: 99.59 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.018e-05, allocations: 0 / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.5255, allocations: 80.49 MB / 468 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5259, allocations: 79.95 kB / 468.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5433, allocations: 6.045 MB / 474.2 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5433, allocations: 0 / 474.2 MB, free: 8.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.5433, allocations: 4 kB / 474.2 MB, free: 8.102 MB / 346.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.0007081/0.544, allocations: 492.3 kB / 474.7 MB, free: 7.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5441, allocations: 8.031 kB / 474.7 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.5442, allocations: 27.67 kB / 474.7 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.5446, allocations: 257.8 kB / 474.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5447, allocations: 0 / 474.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5447, allocations: 7.938 kB / 475 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/0.5448, allocations: 39.98 kB / 475 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.5452, allocations: 164.5 kB / 475.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5452, allocations: 0 / 475.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.5452, allocations: 3.953 kB / 475.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.5453, allocations: 4 kB / 475.2 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.5458, allocations: 347.9 kB / 475.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.546, allocations: 130.7 kB / 475.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.5461, allocations: 51.55 kB / 475.7 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.5462, allocations: 0 / 475.7 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.5463, allocations: 83.28 kB / 475.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.5463, allocations: 4 kB / 475.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002908/0.5466, allocations: 117.4 kB / 475.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5467, allocations: 158.2 kB / 476 MB, free: 5.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.547, allocations: 240.4 kB / 476.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.547, allocations: 25.7 kB / 476.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.5471, allocations: 116.5 kB / 476.4 MB, free: 5.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.5471, allocations: 27.81 kB / 476.4 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.5472, allocations: 0 / 476.4 MB, free: 5.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5473, allocations: 326.8 kB / 476.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.5473, allocations: 20 kB / 476.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.5474, allocations: 79.66 kB / 476.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.5475, allocations: 36.02 kB / 476.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5475, allocations: 0 / 476.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000178/0.5477, allocations: 113.5 kB / 477 MB, free: 4.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5477, allocations: 8.031 kB / 477 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.5477, allocations: 4 kB / 477 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5478, allocations: 7.891 kB / 477 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.5478, allocations: 12 kB / 477 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5479, allocations: 11.92 kB / 477 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.5479, allocations: 12.03 kB / 477 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.548, allocations: 4 kB / 477.1 MB, free: 4.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.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.09e-05/0.5481, allocations: 105 kB / 477.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001959/0.5483, allocations: 129.4 kB / 477.3 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.5483, allocations: 23.67 kB / 477.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.5485, allocations: 111.4 kB / 477.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5485, allocations: 4 kB / 477.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5485, allocations: 0 / 477.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5486, allocations: 3.984 kB / 477.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.5487, allocations: 206.1 kB / 477.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5488, allocations: 0 / 477.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.5488, allocations: 12.09 kB / 477.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5488, allocations: 4 kB / 477.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5488, allocations: 3.938 kB / 477.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5488, allocations: 7.953 kB / 477.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5488, allocations: 0 / 477.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.5491, allocations: 200.5 kB / 477.8 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5492, allocations: 116.8 kB / 478 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5492, allocations: 8 kB / 478 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.5493, allocations: 7.984 kB / 478 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.5494, allocations: 4 kB / 478 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.5494, allocations: 4 kB / 478 MB, free: 3.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.5496, allocations: 196.4 kB / 478.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5496, allocations: 3.938 kB / 478.2 MB, free: 3.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000272/0.5499, allocations: 31.98 kB / 478.2 MB, free: 3.613 MB / 346.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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.001389/0.5513, allocations: 1.199 MB / 479.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.5515, allocations: 68.23 kB / 479.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5515, allocations: 4 kB / 479.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.5516, allocations: 23.98 kB / 479.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5519, allocations: 72.27 kB / 479.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.5526, allocations: 305.7 kB / 479.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5529, allocations: 0.7442 MB / 480.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.553, allocations: 22 kB / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.5531, allocations: 51.42 kB / 480.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5531, allocations: 0 / 480.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.5758, allocations: 3.944 MB / 484.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.5761, allocations: 184.1 kB / 484.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.275, allocations: 0 / 484.8 MB, free: 12.99 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat does not exist to compare? outputFormat=mat