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.001488/0.001488, allocations: 180.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009584, allocations: 94.69 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002699, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2733, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3824, allocations: 81.22 MB / 482.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.3827, allocations: 87.95 kB / 482.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.4, allocations: 6.1 MB / 489 MB, free: 9.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4001, allocations: 0 / 489 MB, free: 9.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.4001, allocations: 4 kB / 489 MB, free: 9.055 MB / 362.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.000706/0.4008, allocations: 0.5079 MB / 489.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4009, allocations: 15.97 kB / 489.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.4009, allocations: 38.52 kB / 489.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.401, allocations: 27.7 kB / 489.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.4014, allocations: 257.8 kB / 489.8 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4014, allocations: 7.938 kB / 489.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4015, allocations: 8 kB / 489.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.4018, allocations: 171.5 kB / 490 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4018, allocations: 4 kB / 490 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4019, allocations: 3.938 kB / 490 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4019, allocations: 7.953 kB / 490 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.402, allocations: 43.91 kB / 490.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.4025, allocations: 371.3 kB / 490.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4028, allocations: 146.7 kB / 490.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4028, allocations: 4 kB / 490.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.403, allocations: 75.47 kB / 490.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.403, allocations: 3.938 kB / 490.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004296/0.4034, allocations: 157.6 kB / 490.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.4036, allocations: 166.5 kB / 491 MB, free: 6.785 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.4039, allocations: 252 kB / 491.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4039, allocations: 29.64 kB / 491.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4041, allocations: 120.4 kB / 491.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4041, allocations: 15.88 kB / 491.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.4041, allocations: 4 kB / 491.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4043, allocations: 330.8 kB / 491.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.4044, allocations: 31.98 kB / 491.7 MB, free: 5.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4045, allocations: 80.34 kB / 491.8 MB, free: 5.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.4046, allocations: 40.02 kB / 491.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4046, allocations: 0 / 491.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.4049, allocations: 129.4 kB / 492 MB, free: 5.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.405, allocations: 7.953 kB / 492 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.405, allocations: 4 kB / 492 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.405, allocations: 0 / 492 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.4051, allocations: 24.11 kB / 492 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4051, allocations: 0 / 492 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.4052, allocations: 19.84 kB / 492 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4052, allocations: 4 kB / 492 MB, free: 5.652 MB / 362.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 () * Number of clocked 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 0.0001537/0.4054, allocations: 141.8 kB / 492.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4055, allocations: 77.44 kB / 492.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.4058, allocations: 119.4 kB / 492.4 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4058, allocations: 4 kB / 492.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4059, allocations: 0 / 492.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4059, allocations: 7.984 kB / 492.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.4061, allocations: 233.6 kB / 492.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.4061, allocations: 3.938 kB / 492.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.4062, allocations: 11.98 kB / 492.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4062, allocations: 4 kB / 492.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4062, allocations: 0 / 492.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4062, allocations: 11.89 kB / 492.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4063, allocations: 0 / 492.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.4066, allocations: 212.5 kB / 492.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4067, allocations: 124.8 kB / 493 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.4068, allocations: 0 / 493 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.4069, allocations: 8 kB / 493 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.4069, allocations: 8.047 kB / 493 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.407, allocations: 8 kB / 493 MB, free: 4.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000273/0.4072, allocations: 204.4 kB / 493.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4073, allocations: 0 / 493.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.4076, allocations: 39.92 kB / 493.2 MB, free: 4.316 MB / 362.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) * Number of clocked states: 0 () * 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.001575/0.4092, allocations: 1.277 MB / 494.5 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4094, allocations: 79.89 kB / 494.6 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4095, allocations: 4 kB / 494.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.4095, allocations: 31.92 kB / 494.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4099, allocations: 76.05 kB / 494.7 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4118, allocations: 1.949 MB / 496.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4122, allocations: 0.7362 MB / 497.4 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.4123, allocations: 21.53 kB / 497.4 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.4124, allocations: 59.41 kB / 497.5 MB, free: 96 kB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4124, allocations: 7.938 kB / 497.5 MB, free: 88 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.4461, allocations: 4.406 MB / 0.4901 GB, free: 11.86 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.4464, allocations: 235.1 kB / 0.4903 GB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.316, allocations: 0 / 0.4903 GB, free: 11.61 MB / 378.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