Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 177.1 kB / 8.35 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.567/1.567, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008888/0.0008888, allocations: 95.89 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.72e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5013, allocations: 75.59 MB / 463.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5017, allocations: 76.98 kB / 463.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003017/0.5047, allocations: 1.032 MB / 464.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.039e-06/0.5048, allocations: 0 / 464.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5048, allocations: 3.938 kB / 464.3 MB, free: 2.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004348/0.5052, allocations: 335.2 kB / 464.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.5053, allocations: 16.03 kB / 464.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.5053, allocations: 7.891 kB / 464.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.5056, allocations: 187.6 kB / 464.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.5057, allocations: 5 kB / 464.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5057, allocations: 0 / 464.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.226e-05/0.5058, allocations: 15.94 kB / 464.8 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.506, allocations: 73.12 kB / 464.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.506, allocations: 7.938 kB / 464.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.506, allocations: 3.984 kB / 464.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5061, allocations: 3.953 kB / 464.9 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5065, allocations: 238.3 kB / 465.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.5066, allocations: 37.16 kB / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.5066, allocations: 13.84 kB / 465.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.5067, allocations: 3.938 kB / 465.2 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5067, allocations: 38.55 kB / 465.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.5067, allocations: 0 / 465.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.5069, allocations: 45.56 kB / 465.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5069, allocations: 85.11 kB / 465.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.5071, allocations: 118.5 kB / 465.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5071, allocations: 25.7 kB / 465.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.5071, allocations: 84.12 kB / 465.6 MB, free: 492 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.5071, allocations: 7.906 kB / 465.6 MB, free: 484 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.5071, allocations: 0 / 465.6 MB, free: 484 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5073, allocations: 314.8 kB / 465.9 MB, free: 160 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.5073, allocations: 0 / 465.9 MB, free: 160 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.5073, allocations: 17.72 kB / 465.9 MB, free: 136 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.661e-05/0.5073, allocations: 8 kB / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5073, allocations: 0 / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.798e-05/0.5074, allocations: 41.62 kB / 466 MB, free: 80 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5074, allocations: 4 kB / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5074, allocations: 0 / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5074, allocations: 4 kB / 466 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.5075, allocations: 128 / 466 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5075, allocations: 4 kB / 466 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.5075, allocations: 3.953 kB / 466 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5075, allocations: 4 kB / 466 MB, free: 60 kB / 330.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 9.189e-05/0.5076, allocations: 104.5 kB / 466.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.663e-05/0.5077, allocations: 57.47 kB / 466.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5077, allocations: 4 kB / 466.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.5078, allocations: 3.969 kB / 466.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5078, allocations: 4.016 kB / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5078, allocations: 8 kB / 466.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5078, allocations: 0 / 466.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.508, allocations: 150.2 kB / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.508, allocations: 0 / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.508, allocations: 0 / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.508, allocations: 0 / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.508, allocations: 0 / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.508, allocations: 4 kB / 466.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.508, allocations: 0 / 466.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.5081, allocations: 165.9 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.5082, allocations: 93 kB / 466.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.5082, allocations: 0 / 466.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.5083, allocations: 0 / 466.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.5083, allocations: 7.953 kB / 466.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.5083, allocations: 0 / 466.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.5084, allocations: 104.8 kB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5084, allocations: 0 / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.5086, allocations: 4 kB / 466.7 MB, free: 15.27 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.0004244/0.5091, allocations: 0.7487 MB / 467.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.5092, allocations: 15.94 kB / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5092, allocations: 0 / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.5092, allocations: 0 / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.5094, allocations: 19.97 kB / 467.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.5098, allocations: 118.3 kB / 467.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.5101, allocations: 0.6926 MB / 468.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.5101, allocations: 5.062 kB / 468.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.5101, allocations: 15.44 kB / 468.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5101, allocations: 0 / 468.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.5295, allocations: 0.81 MB / 469.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.5298, allocations: 164.1 kB / 469.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.055, allocations: 4.094 kB / 469.3 MB, free: 12.57 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat