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.001023/0.001028, allocations: 175.3 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.398/1.398, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0008388/0.0008387, allocations: 96.22 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.28e-05, allocations: 0 / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.43 MB / 394.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4354, allocations: 76.43 MB / 470.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4357, allocations: 75.95 kB / 470.9 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002725/0.4384, allocations: 1.108 MB / 472 MB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4384, allocations: 0 / 472 MB, free: 9.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4384, allocations: 7.938 kB / 472 MB, free: 9.887 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.0003126/0.4388, allocations: 339.2 kB / 472.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.4388, allocations: 12.03 kB / 472.3 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.4389, allocations: 38.56 kB / 472.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4389, allocations: 11.86 kB / 472.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4391, allocations: 184.3 kB / 472.6 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4392, allocations: 4 kB / 472.6 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.4392, allocations: 4 kB / 472.6 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.4394, allocations: 113.7 kB / 472.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4394, allocations: 0 / 472.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4395, allocations: 3.984 kB / 472.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4395, allocations: 3.953 kB / 472.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.4395, allocations: 12 kB / 472.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.4398, allocations: 252.2 kB / 472.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.44, allocations: 142.2 kB / 473.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.4401, allocations: 21.78 kB / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4401, allocations: 0 / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4401, allocations: 34.5 kB / 473.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4401, allocations: 0 / 473.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.4403, allocations: 61.73 kB / 473.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.4404, allocations: 85.05 kB / 473.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4405, allocations: 123.4 kB / 473.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4405, allocations: 29.7 kB / 473.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.4405, allocations: 84.14 kB / 473.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.4406, allocations: 0 / 473.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-06/0.4406, allocations: 4 kB / 473.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4407, allocations: 314.8 kB / 473.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.4407, allocations: 4.031 kB / 473.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.4407, allocations: 31.42 kB / 473.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.016e-05/0.4408, allocations: 9.156 kB / 473.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4408, allocations: 0 / 473.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.184e-05/0.4409, allocations: 65.47 kB / 473.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4409, allocations: 4 kB / 473.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4409, allocations: 4 kB / 473.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4409, allocations: 3.953 kB / 473.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.118e-05/0.4409, allocations: 0 / 473.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.4409, allocations: 4 kB / 473.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.436e-05/0.441, allocations: 4 kB / 473.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.441, allocations: 4 kB / 473.9 MB, free: 7.641 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 7.936e-05/0.4411, allocations: 109.1 kB / 474.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.4412, allocations: 57.69 kB / 474.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.4412, allocations: 15.97 kB / 474.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4412, allocations: 0 / 474.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4412, allocations: 7.938 kB / 474.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4412, allocations: 0 / 474.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.4414, allocations: 161.7 kB / 474.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4414, allocations: 3.984 kB / 474.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.4414, allocations: 4 kB / 474.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4414, allocations: 0 / 474.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.4415, allocations: 8.875 kB / 474.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4415, allocations: 0 / 474.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4415, allocations: 0 / 474.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.4416, allocations: 169.9 kB / 474.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4417, allocations: 89 kB / 474.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.4417, allocations: 8 kB / 474.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.4417, allocations: 8 kB / 474.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.4418, allocations: 3.953 kB / 474.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4418, allocations: 4 kB / 474.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.4419, allocations: 105.8 kB / 474.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4419, allocations: 0 / 474.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.4421, allocations: 4 kB / 474.7 MB, free: 6.793 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.000372/0.4425, allocations: 0.7719 MB / 475.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.4426, allocations: 20 kB / 475.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4426, allocations: 0 / 475.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.4426, allocations: 3.938 kB / 475.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4428, allocations: 23.97 kB / 475.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.4432, allocations: 131.7 kB / 475.6 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4435, allocations: 0.6926 MB / 476.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.4435, allocations: 0 / 476.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.4436, allocations: 19.42 kB / 476.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4436, allocations: 0 / 476.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.4572, allocations: 1.189 MB / 477.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.4575, allocations: 171.2 kB / 477.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/1.92, allocations: 0 / 477.7 MB, free: 3.742 MB / 346.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