Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.001252/0.001252, allocations: 176.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.322/1.322, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0008732/0.0008731, allocations: 99.45 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.067e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4785, allocations: 75.77 MB / 463.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4788, allocations: 75.95 kB / 463.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002849/0.4816, allocations: 1.113 MB / 464.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4817, allocations: 0 / 464.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4817, allocations: 3.938 kB / 464.5 MB, free: 1.762 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003557/0.4821, allocations: 339.2 kB / 464.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4821, allocations: 9.156 kB / 464.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.4822, allocations: 11.86 kB / 464.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.4824, allocations: 186.9 kB / 465.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4824, allocations: 8 kB / 465.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4824, allocations: 3.938 kB / 465.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.383e-05/0.4825, allocations: 12 kB / 465.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4827, allocations: 101 kB / 465.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4827, allocations: 0 / 465.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4828, allocations: 4 kB / 465.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4828, allocations: 7.953 kB / 465.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.4831, allocations: 242.3 kB / 465.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.4833, allocations: 122.3 kB / 465.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.4833, allocations: 25.78 kB / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4833, allocations: 0 / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4834, allocations: 38.58 kB / 465.6 MB, free: 492 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4834, allocations: 0 / 465.6 MB, free: 492 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.4835, allocations: 49.66 kB / 465.7 MB, free: 436 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.4836, allocations: 77.11 kB / 465.7 MB, free: 340 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4837, allocations: 131.3 kB / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4838, allocations: 25.7 kB / 465.9 MB, free: 172 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.4838, allocations: 92.08 kB / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.4838, allocations: 0 / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.4838, allocations: 0 / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.484, allocations: 314.8 kB / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.484, allocations: 8 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.4841, allocations: 27.44 kB / 466.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.944e-05/0.4841, allocations: 8 kB / 466.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4841, allocations: 0 / 466.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.617e-05/0.4842, allocations: 53.53 kB / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4842, allocations: 5.25 kB / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4842, allocations: 128 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4842, allocations: 8 kB / 466.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.258e-05/0.4843, allocations: 0 / 466.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4843, allocations: 3.938 kB / 466.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.4843, allocations: 7.953 kB / 466.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4843, allocations: 0 / 466.4 MB, free: 15.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.895e-05/0.4844, allocations: 109 kB / 466.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.644e-05/0.4845, allocations: 49.69 kB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4845, allocations: 15.78 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.4846, allocations: 12.36 kB / 466.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4846, allocations: 7.953 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4846, allocations: 3.938 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4846, allocations: 192 / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4848, allocations: 146.2 kB / 466.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4848, allocations: 0 / 466.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-06/0.4848, allocations: 0 / 466.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4848, allocations: 3.984 kB / 466.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4848, allocations: 4 kB / 466.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4848, allocations: 1.062 kB / 466.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4848, allocations: 0 / 466.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.485, allocations: 170 kB / 466.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.4851, allocations: 89 kB / 467 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4851, allocations: 0 / 467 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.4852, allocations: 4 kB / 467 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4852, allocations: 7.891 kB / 467 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4852, allocations: 8 kB / 467 MB, free: 14.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.4853, allocations: 101.5 kB / 467.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4853, allocations: 0 / 467.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.4855, allocations: 4 kB / 467.1 MB, free: 14.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000464/0.486, allocations: 0.7614 MB / 467.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.4861, allocations: 19.94 kB / 467.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4861, allocations: 0 / 467.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.4861, allocations: 0 / 467.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4864, allocations: 23.97 kB / 467.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4868, allocations: 131.5 kB / 468.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4871, allocations: 0.6927 MB / 468.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.521e-05/0.4872, allocations: 7.938 kB / 468.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.4872, allocations: 15.42 kB / 468.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4872, allocations: 0 / 468.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.5072, allocations: 0.8894 MB / 469.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.5075, allocations: 157 kB / 469.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.017, allocations: 2.812 kB / 469.8 MB, free: 11.99 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat