Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002224/0.002224, allocations: 187.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001217/0.001217, allocations: 98.2 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5307/0.5307, allocations: 43.55 MB / 362.7 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005011, allocations: 23.98 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.6121, allocations: 87.57 MB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6124, allocations: 75.95 kB / 0.5644 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02769/0.6401, allocations: 6.517 MB / 0.5708 GB, free: 8.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6402, allocations: 0 / 0.5708 GB, free: 8.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.6403, allocations: 8.547 kB / 0.5708 GB, free: 8.41 MB / 394.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.001396/0.6417, allocations: 0.7298 MB / 0.5715 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.6417, allocations: 8.031 kB / 0.5715 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.6418, allocations: 34.56 kB / 0.5716 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.6419, allocations: 46.88 kB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.6432, allocations: 491 kB / 0.5721 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.6432, allocations: 0 / 0.5721 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.6433, allocations: 4 kB / 0.5721 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.6436, allocations: 91.3 kB / 0.5722 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.6436, allocations: 0 / 0.5722 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.6436, allocations: 9.031 kB / 0.5722 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6437, allocations: 0 / 0.5722 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.6438, allocations: 31.97 kB / 0.5722 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.6445, allocations: 382.3 kB / 0.5726 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.6449, allocations: 113.3 kB / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.645, allocations: 0 / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.6453, allocations: 117 kB / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.6453, allocations: 0 / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008226/0.6461, allocations: 201.5 kB / 0.573 GB, free: 5.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.6462, allocations: 81.09 kB / 0.573 GB, free: 5.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.6484, allocations: 0.9356 MB / 0.574 GB, free: 4.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.6485, allocations: 33.7 kB / 0.574 GB, free: 4.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.6487, allocations: 242.6 kB / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.6488, allocations: 39.53 kB / 0.5743 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.6488, allocations: 4 kB / 0.5743 GB, free: 4.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.649, allocations: 318.8 kB / 0.5746 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.6491, allocations: 31.97 kB / 0.5746 GB, free: 4.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.6493, allocations: 59.36 kB / 0.5747 GB, free: 4.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.6495, allocations: 40.05 kB / 0.5747 GB, free: 4.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6495, allocations: 4 kB / 0.5747 GB, free: 4.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004408/0.65, allocations: 121.6 kB / 0.5748 GB, free: 4.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.65, allocations: 10.91 kB / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.65, allocations: 0 / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6501, allocations: 4 kB / 0.5748 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.6503, allocations: 23.92 kB / 0.5749 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6503, allocations: 4 kB / 0.5749 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.6505, allocations: 19.78 kB / 0.5749 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.6506, allocations: 8.062 kB / 0.5749 GB, free: 3.965 MB / 394.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.000394/0.651, allocations: 233.6 kB / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6511, allocations: 55.42 kB / 0.5752 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.6518, allocations: 197.5 kB / 0.5753 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6518, allocations: 7.984 kB / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6518, allocations: 0 / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6519, allocations: 0 / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.6525, allocations: 393.3 kB / 0.5757 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6525, allocations: 0 / 0.5757 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.6526, allocations: 11.94 kB / 0.5757 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/0.6526, allocations: 4 kB / 0.5757 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.6527, allocations: 256 / 0.5757 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.6527, allocations: 7.984 kB / 0.5758 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6527, allocations: 4 kB / 0.5758 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.6533, allocations: 227 kB / 0.576 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.6538, allocations: 192.4 kB / 0.5762 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6539, allocations: 7.922 kB / 0.5762 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6542, allocations: 12 kB / 0.5762 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.6542, allocations: 11.92 kB / 0.5762 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.6543, allocations: 4 kB / 0.5762 GB, free: 2.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001634/0.6559, allocations: 0.7565 MB / 0.5769 GB, free: 1.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.656, allocations: 4 kB / 0.5769 GB, free: 1.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005496/0.6565, allocations: 79.91 kB / 0.577 GB, free: 1.676 MB / 394.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.002153/0.6587, allocations: 1.154 MB / 0.5781 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.6592, allocations: 95.89 kB / 0.5782 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6592, allocations: 0 / 0.5782 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.6594, allocations: 35.98 kB / 0.5783 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.6601, allocations: 62.83 kB / 0.5783 GB, free: 404 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.6674, allocations: 3.419 MB / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.6681, allocations: 0.8546 MB / 0.5825 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.6686, allocations: 159.4 kB / 0.5826 GB, free: 11.86 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6686, allocations: 0 / 0.5826 GB, free: 11.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.862/3.531, allocations: 8.441 MB / 0.5909 GB, free: 3.418 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat