Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 98.48 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.995e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5646, allocations: 76.39 MB / 471.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5649, allocations: 77.16 kB / 471.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003016/0.5679, allocations: 1.042 MB / 472.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5679, allocations: 3.719 kB / 472.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.5679, allocations: 3.938 kB / 472.8 MB, free: 13.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002658/0.5682, allocations: 335.7 kB / 473.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5683, allocations: 12.03 kB / 473.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.5683, allocations: 11.5 kB / 473.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.5685, allocations: 180.7 kB / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5686, allocations: 0.8594 kB / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.5686, allocations: 0 / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.638e-05/0.5687, allocations: 11.44 kB / 473.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.5688, allocations: 86.22 kB / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5689, allocations: 0 / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.5689, allocations: 0 / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5689, allocations: 4 kB / 473.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.5692, allocations: 229.7 kB / 473.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.5692, allocations: 45.09 kB / 473.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.5693, allocations: 13.84 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.5693, allocations: 3.438 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.5693, allocations: 35.17 kB / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.5693, allocations: 0 / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.5695, allocations: 47.61 kB / 473.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5696, allocations: 80.36 kB / 473.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5697, allocations: 114.4 kB / 474 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.609e-06/0.5697, allocations: 25.7 kB / 474 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.5697, allocations: 88.08 kB / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.5697, allocations: 4.422 kB / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.5698, allocations: 4.062 kB / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.5698, allocations: 315.2 kB / 474.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.5698, allocations: 4 kB / 474.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.5699, allocations: 16.45 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.644e-05/0.5699, allocations: 7.938 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5699, allocations: 0 / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.025e-05/0.57, allocations: 42.48 kB / 474.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.57, allocations: 8.609 kB / 474.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.57, allocations: 4 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.57, allocations: 0 / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.57, allocations: 0.5625 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5701, allocations: 0.5625 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.5701, allocations: 8.5 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5701, allocations: 0 / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.868e-05/0.5702, allocations: 107.3 kB / 474.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.302e-05/0.5703, allocations: 53.66 kB / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.5703, allocations: 7.953 kB / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.5704, allocations: 5.516 kB / 474.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5704, allocations: 4 kB / 474.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5704, allocations: 0 / 474.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5704, allocations: 0.75 kB / 474.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.5705, allocations: 146.5 kB / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5705, allocations: 0 / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.5706, allocations: 4.688 kB / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5706, allocations: 8.016 kB / 474.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.5706, allocations: 4 kB / 474.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5706, allocations: 0.7969 kB / 474.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5706, allocations: 0 / 474.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/0.5707, allocations: 155.1 kB / 475 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.5708, allocations: 96.61 kB / 475.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5708, allocations: 4.969 kB / 475.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.5709, allocations: 4 kB / 475.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5709, allocations: 0.8438 kB / 475.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.5709, allocations: 2.906 kB / 475.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.571, allocations: 99.25 kB / 475.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.571, allocations: 0 / 475.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.5713, allocations: 4 kB / 475.2 MB, free: 11.34 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002519/0.5716, allocations: 0.759 MB / 475.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.5717, allocations: 11.81 kB / 475.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5717, allocations: 0 / 475.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.5717, allocations: 3.938 kB / 476 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.572, allocations: 17.89 kB / 476 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.5725, allocations: 121.7 kB / 476.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.5726, allocations: 0.6918 MB / 476.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.5727, allocations: 4 kB / 476.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.5727, allocations: 12.23 kB / 476.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5727, allocations: 0 / 476.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.5927, allocations: 0.7923 MB / 477.6 MB, free: 9.238 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.593, allocations: 164.9 kB / 477.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.025, allocations: 0.5 kB / 477.7 MB, free: 9.043 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat