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.001449/0.001449, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.448/1.448, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 98.23 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8 kB / 351.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3072, allocations: 50.39 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09899/0.4063, allocations: 76.52 MB / 478.1 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4066, allocations: 75.95 kB / 478.2 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002716/0.4093, allocations: 1.113 MB / 479.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4093, allocations: 0 / 479.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4094, allocations: 3.562 kB / 479.3 MB, free: 2.742 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.0003611/0.4097, allocations: 351.2 kB / 479.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4098, allocations: 11.97 kB / 479.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.4098, allocations: 34.5 kB / 479.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.4099, allocations: 11.86 kB / 479.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.41, allocations: 186.9 kB / 479.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4101, allocations: 4 kB / 479.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.4101, allocations: 4 kB / 479.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.4103, allocations: 115.7 kB / 480 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4104, allocations: 4 kB / 480 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4104, allocations: 0 / 480 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4104, allocations: 7.938 kB / 480 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.4105, allocations: 15.94 kB / 480 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.4108, allocations: 257.8 kB / 480.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.411, allocations: 142.2 kB / 480.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.411, allocations: 0 / 480.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.411, allocations: 34.62 kB / 480.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.411, allocations: 0 / 480.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002201/0.4112, allocations: 81.75 kB / 480.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.4113, allocations: 85.09 kB / 480.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.4114, allocations: 122.8 kB / 480.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4114, allocations: 25.7 kB / 480.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.4115, allocations: 84.14 kB / 480.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-06/0.4115, allocations: 4 kB / 480.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.4115, allocations: 0 / 480.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4116, allocations: 319 kB / 481.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.4117, allocations: 11.94 kB / 481.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.4117, allocations: 31.38 kB / 481.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.4118, allocations: 15.98 kB / 481.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4118, allocations: 4 kB / 481.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.4119, allocations: 61.53 kB / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4119, allocations: 4 kB / 481.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4119, allocations: 4 kB / 481.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4119, allocations: 0 / 481.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.206e-05/0.412, allocations: 3.953 kB / 481.3 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.412, allocations: 7.938 kB / 481.3 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.412, allocations: 128 / 481.3 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.412, allocations: 15.98 kB / 481.3 MB, free: 456 kB / 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 () * Number of clocked 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 8.034e-05/0.4121, allocations: 113.8 kB / 481.4 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.4122, allocations: 53.53 kB / 481.5 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.4122, allocations: 7.906 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4122, allocations: 0 / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4122, allocations: 3.953 kB / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4123, allocations: 0 / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.4124, allocations: 165.7 kB / 481.6 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4124, allocations: 4 kB / 481.6 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.4124, allocations: 4 kB / 481.6 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4125, allocations: 3.938 kB / 481.7 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4125, allocations: 0 / 481.7 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.4125, allocations: 8 kB / 481.7 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4125, allocations: 0 / 481.7 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4127, allocations: 178.1 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4127, allocations: 89 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4128, allocations: 4 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.4128, allocations: 4 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.4128, allocations: 3.953 kB / 481.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.4129, allocations: 4 kB / 481.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.4129, allocations: 102.6 kB / 482 MB, free: 15.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4129, allocations: 0 / 482 MB, free: 15.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.4131, allocations: 8 kB / 482 MB, free: 15.59 MB / 362.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 () * Number of clocked 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.0004633/0.4136, allocations: 0.7797 MB / 482.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.4137, allocations: 27.94 kB / 482.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4137, allocations: 3.938 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.4138, allocations: 7.984 kB / 482.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.414, allocations: 22.91 kB / 482.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.4149, allocations: 0.8926 MB / 483.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4153, allocations: 0.6931 MB / 484.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.4153, allocations: 0 / 484.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.4153, allocations: 19.42 kB / 484.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4153, allocations: 0 / 484.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.4446, allocations: 1.201 MB / 485.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.4448, allocations: 193.4 kB / 485.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.069, allocations: 0 / 485.9 MB, free: 11.72 MB / 362.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