Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001397/0.001397, allocations: 180 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.411/1.411, 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.0009567/0.0009566, allocations: 86.86 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.226/0.226, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004071, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6114, allocations: 87.57 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.6117, allocations: 75.09 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.6288, allocations: 6.508 MB / 0.5708 GB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6288, allocations: 8 kB / 0.5708 GB, free: 6.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.6288, allocations: 4 kB / 0.5708 GB, free: 6.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001053/0.6299, allocations: 0.7233 MB / 0.5715 GB, free: 5.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.6299, allocations: 12.03 kB / 0.5715 GB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.63, allocations: 30.56 kB / 0.5716 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.6301, allocations: 55.38 kB / 0.5716 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.631, allocations: 486.3 kB / 0.5721 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.631, allocations: 8 kB / 0.5721 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.6311, allocations: 3.984 kB / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.6313, allocations: 87.12 kB / 0.5722 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6313, allocations: 3.984 kB / 0.5722 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6313, allocations: 0.5 kB / 0.5722 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6314, allocations: 0 / 0.5722 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.6315, allocations: 31.92 kB / 0.5722 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.632, allocations: 388.4 kB / 0.5726 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.6323, allocations: 108.6 kB / 0.5727 GB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6324, allocations: 7.984 kB / 0.5727 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.6326, allocations: 117.9 kB / 0.5728 GB, free: 4.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.6326, allocations: 0 / 0.5728 GB, free: 4.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005138/0.6332, allocations: 199.2 kB / 0.573 GB, free: 4.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.6332, allocations: 81.61 kB / 0.5731 GB, free: 4.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.6346, allocations: 0.9375 MB / 0.574 GB, free: 3.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.6347, allocations: 33.2 kB / 0.574 GB, free: 3.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.6349, allocations: 232.2 kB / 0.5742 GB, free: 3.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.6349, allocations: 34.67 kB / 0.5743 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6349, allocations: 0 / 0.5743 GB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.6352, allocations: 371.7 kB / 0.5746 GB, free: 2.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.6352, allocations: 30.73 kB / 0.5747 GB, free: 2.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.6354, allocations: 56.59 kB / 0.5747 GB, free: 2.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.6355, allocations: 44.05 kB / 0.5748 GB, free: 2.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6355, allocations: 0 / 0.5748 GB, free: 2.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.6358, allocations: 160.9 kB / 0.5749 GB, free: 2.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6358, allocations: 11.98 kB / 0.5749 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6358, allocations: 4 kB / 0.5749 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.6359, allocations: 0 / 0.5749 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.636, allocations: 31.31 kB / 0.575 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.636, allocations: 3.984 kB / 0.575 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.6362, allocations: 15.84 kB / 0.575 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6362, allocations: 7.938 kB / 0.575 GB, free: 2.57 MB / 378.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: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0002622/0.6364, allocations: 231.8 kB / 0.5752 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.6365, allocations: 51.34 kB / 0.5753 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.6369, allocations: 205.8 kB / 0.5754 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.637, allocations: 3.938 kB / 0.5755 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.637, allocations: 4 kB / 0.5755 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.637, allocations: 0 / 0.5755 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.6374, allocations: 389.5 kB / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6374, allocations: 0 / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.6375, allocations: 15.92 kB / 0.5758 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6375, allocations: 0 / 0.5758 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.6375, allocations: 7.562 kB / 0.5758 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6375, allocations: 0 / 0.5758 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6375, allocations: 0 / 0.5758 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.6379, allocations: 235.8 kB / 0.5761 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6383, allocations: 191.7 kB / 0.5763 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.6383, allocations: 7.938 kB / 0.5763 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.6384, allocations: 15.92 kB / 0.5763 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.6385, allocations: 8 kB / 0.5763 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.6385, allocations: 15.92 kB / 0.5763 GB, free: 1.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000853/0.6394, allocations: 0.7453 MB / 0.577 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6394, allocations: 0 / 0.577 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000327/0.6397, allocations: 83.86 kB / 0.5771 GB, free: 0.6562 MB / 378.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001634/0.6413, allocations: 1.159 MB / 0.5782 GB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.6416, allocations: 82.97 kB / 0.5783 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6416, allocations: 0 / 0.5783 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.6417, allocations: 47.91 kB / 0.5784 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.6421, allocations: 61.28 kB / 0.5784 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.6465, allocations: 3.373 MB / 0.5817 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.647, allocations: 0.8501 MB / 0.5825 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.6472, allocations: 90.81 kB / 0.5826 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6474, allocations: 162.5 kB / 0.5828 GB, free: 11.33 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6474, allocations: 0 / 0.5828 GB, free: 11.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.6713, allocations: 9.212 MB / 0.5918 GB, free: 2.125 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.6716, allocations: 213.8 kB / 0.592 GB, free: 1.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.009, allocations: 0 / 0.592 GB, free: 1.883 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat