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.001525/0.001525, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.372/1.372, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0009419/0.0009418, allocations: 94.27 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.78e-05, allocations: 7.984 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5107, allocations: 76.27 MB / 470.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.511, allocations: 75.95 kB / 470.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00247/0.5135, allocations: 1.037 MB / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5135, allocations: 0 / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.5135, allocations: 7.938 kB / 471.7 MB, free: 10.13 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.0002651/0.5138, allocations: 339.2 kB / 472.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5139, allocations: 8.031 kB / 472.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.5139, allocations: 30.56 kB / 472.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.5139, allocations: 7.953 kB / 472.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.5141, allocations: 190.8 kB / 472.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5141, allocations: 3.938 kB / 472.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.5142, allocations: 8 kB / 472.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5143, allocations: 85.06 kB / 472.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5144, allocations: 0 / 472.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5144, allocations: 3.984 kB / 472.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5144, allocations: 3.953 kB / 472.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.5144, allocations: 4 kB / 472.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.5147, allocations: 261.8 kB / 472.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.5148, allocations: 41.08 kB / 472.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.5148, allocations: 17.84 kB / 472.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.5149, allocations: 4 kB / 472.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.5149, allocations: 34.5 kB / 472.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5149, allocations: 4 kB / 472.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000136/0.515, allocations: 45.56 kB / 472.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.5151, allocations: 77.11 kB / 472.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5152, allocations: 128.4 kB / 473 MB, free: 8.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5152, allocations: 29.77 kB / 473 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.5153, allocations: 88.14 kB / 473.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.5153, allocations: 7.891 kB / 473.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.5153, allocations: 0 / 473.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.5154, allocations: 314.8 kB / 473.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.5154, allocations: 4 kB / 473.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.5154, allocations: 10.88 kB / 473.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.717e-05/0.5155, allocations: 12.05 kB / 473.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5155, allocations: 0 / 473.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.705e-05/0.5155, allocations: 45.64 kB / 473.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5155, allocations: 5.094 kB / 473.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5156, allocations: 0 / 473.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5156, allocations: 3.953 kB / 473.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.249e-05/0.5156, allocations: 0 / 473.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5156, allocations: 4 kB / 473.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.5156, allocations: 3.984 kB / 473.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.5156, allocations: 4.062 kB / 473.5 MB, free: 8.086 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 6.028e-05/0.5157, allocations: 106.8 kB / 473.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.5158, allocations: 41.55 kB / 473.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.5158, allocations: 7.656 kB / 473.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.5158, allocations: 3.938 kB / 473.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5158, allocations: 7.953 kB / 473.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5158, allocations: 0 / 473.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.516, allocations: 165.7 kB / 473.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.516, allocations: 0 / 473.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.516, allocations: 4.031 kB / 473.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.516, allocations: 3.938 kB / 473.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.516, allocations: 4 kB / 473.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.516, allocations: 0 / 473.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.516, allocations: 0 / 473.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.5161, allocations: 158.1 kB / 474 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.5162, allocations: 93 kB / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5162, allocations: 0 / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.5163, allocations: 4 kB / 474.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.5163, allocations: 7.891 kB / 474.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.5163, allocations: 0 / 474.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.93e-05/0.5164, allocations: 103.3 kB / 474.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5164, allocations: 0 / 474.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.5166, allocations: 4 kB / 474.2 MB, free: 7.285 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.0003548/0.517, allocations: 0.7564 MB / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.517, allocations: 15.94 kB / 475 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.517, allocations: 160 / 475 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.5171, allocations: 8 kB / 475 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.5173, allocations: 15.97 kB / 475 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.5176, allocations: 123.2 kB / 475.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5178, allocations: 0.6887 MB / 475.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.5179, allocations: 3.938 kB / 475.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.5179, allocations: 12.31 kB / 475.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of SimCode: time 4e-07/0.5179, allocations: 4.156 kB / 475.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.5296, allocations: 1.133 MB / 477 MB, free: 4.566 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.5299, allocations: 166.6 kB / 477.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.414/1.944, allocations: 4 kB / 477.1 MB, free: 4.344 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