Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001277/0.001277, allocations: 199.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000931/0.000931, allocations: 94.77 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.156e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1502, allocations: 51.48 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.5108, allocations: 76.57 MB / 471.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5111, allocations: 80.27 kB / 471.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002923/0.5141, allocations: 1.099 MB / 473 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5141, allocations: 0 / 473 MB, free: 13.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.5141, allocations: 7.719 kB / 473 MB, free: 13.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002718/0.5144, allocations: 335.7 kB / 473.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5144, allocations: 12.03 kB / 473.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.5145, allocations: 11.69 kB / 473.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5146, allocations: 181.1 kB / 473.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5147, allocations: 0.8594 kB / 473.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.5147, allocations: 8 kB / 473.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.488e-05/0.5148, allocations: 19.44 kB / 473.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.515, allocations: 98.73 kB / 473.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.515, allocations: 0 / 473.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.515, allocations: 0 / 473.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.515, allocations: 4 kB / 473.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.5153, allocations: 240.5 kB / 473.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5154, allocations: 135.7 kB / 474.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.5154, allocations: 26.28 kB / 474.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5155, allocations: 1.406 kB / 474.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.5155, allocations: 34.56 kB / 474.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5155, allocations: 0 / 474.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001417/0.5156, allocations: 55.38 kB / 474.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5157, allocations: 78.23 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.5158, allocations: 121.2 kB / 474.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.5158, allocations: 29.73 kB / 474.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.5158, allocations: 85.14 kB / 474.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.5158, allocations: 0 / 474.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.5158, allocations: 0 / 474.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.5159, allocations: 321.4 kB / 474.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.5159, allocations: 0.6562 kB / 474.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.5159, allocations: 26.94 kB / 474.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.516, allocations: 13.2 kB / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.516, allocations: 0 / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.168e-05/0.516, allocations: 56.12 kB / 474.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.516, allocations: 7.953 kB / 474.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5161, allocations: 4 kB / 474.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5161, allocations: 4.5 kB / 474.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.2e-05/0.5161, allocations: 8.125 kB / 474.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5161, allocations: 0 / 474.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.5161, allocations: 2.875 kB / 474.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5162, allocations: 7.938 kB / 474.9 MB, free: 11.65 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 4.693e-05/0.5162, allocations: 102.6 kB / 475 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.987e-05/0.5163, allocations: 52.08 kB / 475.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5163, allocations: 11.86 kB / 475.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.5163, allocations: 13.23 kB / 475.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5164, allocations: 4.031 kB / 475.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5164, allocations: 1.547 kB / 475.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5164, allocations: 0 / 475.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5165, allocations: 143.3 kB / 475.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5165, allocations: 0 / 475.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.5165, allocations: 4 kB / 475.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5165, allocations: 3.953 kB / 475.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.5165, allocations: 1.219 kB / 475.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5165, allocations: 3.938 kB / 475.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5165, allocations: 5.562 kB / 475.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.5166, allocations: 166.5 kB / 475.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.5167, allocations: 93.05 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5167, allocations: 0 / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.5168, allocations: 1.219 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.5168, allocations: 4 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5168, allocations: 4.281 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.5169, allocations: 101.4 kB / 475.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5169, allocations: 0 / 475.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.5171, allocations: 4 kB / 475.6 MB, free: 10.91 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.0002555/0.5174, allocations: 0.771 MB / 476.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.5174, allocations: 23.28 kB / 476.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5175, allocations: 2.062 kB / 476.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.779e-06/0.5175, allocations: 4 kB / 476.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5177, allocations: 13.91 kB / 476.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.5181, allocations: 130.8 kB / 476.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.5182, allocations: 0.6975 MB / 477.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.784e-05/0.5183, allocations: 1.641 kB / 477.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5183, allocations: 14.88 kB / 477.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5183, allocations: 0 / 477.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.5386, allocations: 0.8835 MB / 478.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5389, allocations: 156.5 kB / 478.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.012, allocations: 0 / 478.3 MB, free: 8.539 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat