Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009446/0.0009447, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.18/0.18, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4717, allocations: 89.09 MB / 0.5658 GB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.472, allocations: 68.91 kB / 0.5659 GB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0163/0.4883, allocations: 6.01 MB / 0.5718 GB, free: 5.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4884, allocations: 8 kB / 0.5718 GB, free: 5.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.4884, allocations: 0 / 0.5718 GB, free: 5.137 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008439/0.4892, allocations: 0.6435 MB / 0.5724 GB, free: 4.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4893, allocations: 15.97 kB / 0.5724 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.4894, allocations: 41.19 kB / 0.5725 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.4894, allocations: 27.72 kB / 0.5725 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.4898, allocations: 282.5 kB / 0.5728 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.4899, allocations: 96.53 kB / 0.5729 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.49, allocations: 15.69 kB / 0.5729 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.4903, allocations: 164.7 kB / 0.573 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4903, allocations: 0 / 0.573 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4903, allocations: 11.75 kB / 0.573 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4903, allocations: 0 / 0.573 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.4906, allocations: 99.73 kB / 0.5731 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.4914, allocations: 0.6215 MB / 0.5737 GB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.4917, allocations: 195 kB / 0.5739 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4918, allocations: 0 / 0.5739 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.4922, allocations: 432.6 kB / 0.5743 GB, free: 2.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.4922, allocations: 0 / 0.5743 GB, free: 2.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009407/0.4932, allocations: 0.6792 MB / 0.575 GB, free: 1.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.4933, allocations: 216.7 kB / 0.5752 GB, free: 1.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.4936, allocations: 289.6 kB / 0.5755 GB, free: 1.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.4937, allocations: 31.77 kB / 0.5755 GB, free: 1.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4938, allocations: 141.2 kB / 0.5757 GB, free: 1.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.4939, allocations: 46.41 kB / 0.5757 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.4939, allocations: 6.875 kB / 0.5757 GB, free: 1.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.494, allocations: 340.1 kB / 0.576 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4942, allocations: 59.34 kB / 0.5761 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.4944, allocations: 149.7 kB / 0.5762 GB, free: 0.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4946, allocations: 155.4 kB / 0.5764 GB, free: 448 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4946, allocations: 4 kB / 0.5764 GB, free: 444 kB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000488/0.4951, allocations: 343.1 kB / 0.5767 GB, free: 132 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.4951, allocations: 101 kB / 0.5768 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4951, allocations: 3.938 kB / 0.5768 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4952, allocations: 4 kB / 0.5768 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4953, allocations: 23.53 kB / 0.5768 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4953, allocations: 11.89 kB / 0.5768 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4955, allocations: 27.78 kB / 0.5769 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.4955, allocations: 11.94 kB / 0.5769 GB, free: 15.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0002241/0.4957, allocations: 268.3 kB / 0.5771 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.4958, allocations: 32.09 kB / 0.5772 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.4962, allocations: 207.1 kB / 0.5774 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4962, allocations: 0 / 0.5774 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4962, allocations: 4.094 kB / 0.5774 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4962, allocations: 15.88 kB / 0.5774 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.4965, allocations: 299.6 kB / 0.5777 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4965, allocations: 0 / 0.5777 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.4966, allocations: 8 kB / 0.5777 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4966, allocations: 4 kB / 0.5777 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4966, allocations: 8 kB / 0.5777 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4966, allocations: 7.922 kB / 0.5777 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4966, allocations: 0 / 0.5777 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/0.4974, allocations: 478.6 kB / 0.5782 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4976, allocations: 112.7 kB / 0.5783 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.4976, allocations: 8 kB / 0.5783 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.4978, allocations: 27.81 kB / 0.5783 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.4978, allocations: 27.72 kB / 0.5783 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.4979, allocations: 8 kB / 0.5783 GB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002519/0.4981, allocations: 234.4 kB / 0.5786 GB, free: 14.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4981, allocations: 0 / 0.5786 GB, free: 14.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.4985, allocations: 75.92 kB / 0.5786 GB, free: 14.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.001942/0.5004, allocations: 1.472 MB / 0.5801 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.5011, allocations: 414.7 kB / 0.5805 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5011, allocations: 0 / 0.5805 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.5015, allocations: 354.5 kB / 0.5808 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.5018, allocations: 36.22 kB / 0.5808 GB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.5048, allocations: 2.843 MB / 0.5836 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.5052, allocations: 0.762 MB / 0.5844 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.5053, allocations: 29.62 kB / 0.5844 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5054, allocations: 68.84 kB / 0.5844 GB, free: 8.613 MB / 394.7 MB Notification: Performance of SimCode: time 2.786e-06/0.5054, allocations: 4 kB / 0.5844 GB, free: 8.609 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.5238, allocations: 5.575 MB / 0.5899 GB, free: 3.055 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.524, allocations: 189.9 kB / 0.5901 GB, free: 2.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.372, allocations: 0 / 0.5901 GB, free: 2.82 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat