Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001137/0.001137, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.791/1.791, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008544/0.0008544, allocations: 89.14 kB / 267 MB, free: 9.266 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.4102/0.4102, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.583e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.533, allocations: 87.47 MB / 0.5583 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5333, allocations: 76.16 kB / 0.5584 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.5522, allocations: 6.45 MB / 0.5647 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5522, allocations: 0 / 0.5647 GB, free: 12.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.5523, allocations: 11.39 kB / 0.5647 GB, free: 12.5 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.0009111/0.5532, allocations: 0.5974 MB / 0.5653 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5533, allocations: 8.031 kB / 0.5653 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.5533, allocations: 41.44 kB / 0.5653 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.5535, allocations: 47.34 kB / 0.5654 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009461/0.5545, allocations: 468.5 kB / 0.5658 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5545, allocations: 11.92 kB / 0.5659 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.5545, allocations: 7.938 kB / 0.5659 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5547, allocations: 83.62 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5548, allocations: 1.375 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5548, allocations: 0 / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.5548, allocations: 0 / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.5549, allocations: 34.23 kB / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.5553, allocations: 383.4 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.5555, allocations: 100.2 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.5556, allocations: 36.69 kB / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.5556, allocations: 7.922 kB / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.5558, allocations: 104.7 kB / 0.5666 GB, free: 10.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5558, allocations: 0 / 0.5666 GB, free: 10.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003695/0.5562, allocations: 166.3 kB / 0.5667 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.5563, allocations: 81.11 kB / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.5574, allocations: 0.9065 MB / 0.5677 GB, free: 9.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.5575, allocations: 25.7 kB / 0.5677 GB, free: 9.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.5576, allocations: 234.3 kB / 0.5679 GB, free: 9.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.5577, allocations: 39.28 kB / 0.568 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5577, allocations: 3.562 kB / 0.568 GB, free: 9.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5578, allocations: 367.1 kB / 0.5683 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.5578, allocations: 22.5 kB / 0.5684 GB, free: 9.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.5579, allocations: 62.42 kB / 0.5684 GB, free: 9.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.558, allocations: 30.98 kB / 0.5684 GB, free: 9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.558, allocations: 4 kB / 0.5685 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002307/0.5582, allocations: 159.7 kB / 0.5686 GB, free: 8.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5582, allocations: 4 kB / 0.5686 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5583, allocations: 4 kB / 0.5686 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5583, allocations: 0 / 0.5686 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.5584, allocations: 27.92 kB / 0.5686 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5585, allocations: 0 / 0.5686 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.5586, allocations: 15.41 kB / 0.5687 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.5586, allocations: 11.98 kB / 0.5687 GB, free: 8.801 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 () * 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 7.403e-05/0.5587, allocations: 120 kB / 0.5688 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.5588, allocations: 47.44 kB / 0.5688 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.5591, allocations: 198 kB / 0.569 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5591, allocations: 7.938 kB / 0.569 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5591, allocations: 0 / 0.569 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5591, allocations: 0 / 0.569 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.5594, allocations: 378.9 kB / 0.5694 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5594, allocations: 12 kB / 0.5694 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.5594, allocations: 19.23 kB / 0.5694 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.5595, allocations: 0 / 0.5694 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5595, allocations: 4 kB / 0.5694 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5595, allocations: 0 / 0.5694 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5595, allocations: 0 / 0.5694 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.5598, allocations: 224 kB / 0.5696 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.56, allocations: 184.6 kB / 0.5698 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.5601, allocations: 7.625 kB / 0.5698 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.5602, allocations: 7.984 kB / 0.5698 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5603, allocations: 15.92 kB / 0.5698 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.5603, allocations: 7.625 kB / 0.5698 GB, free: 7.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007623/0.5611, allocations: 0.7199 MB / 0.5705 GB, free: 7.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5611, allocations: 3.938 kB / 0.5705 GB, free: 7.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.5614, allocations: 79.5 kB / 0.5706 GB, free: 7.031 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) * 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.001472/0.5629, allocations: 1.105 MB / 0.5717 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5631, allocations: 81.48 kB / 0.5718 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5631, allocations: 4.125 kB / 0.5718 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.5632, allocations: 39.06 kB / 0.5718 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.5637, allocations: 68.88 kB / 0.5719 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.5652, allocations: 0.8642 MB / 0.5727 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5656, allocations: 0.8507 MB / 0.5736 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.5658, allocations: 93.8 kB / 0.5737 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.566, allocations: 150 kB / 0.5738 GB, free: 4.051 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5661, allocations: 3.938 kB / 0.5738 GB, free: 4.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.5935, allocations: 8.868 MB / 0.5825 GB, free: 11.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.5938, allocations: 191.6 kB / 0.5826 GB, free: 10.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.856, allocations: 0 / 0.5826 GB, free: 10.97 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat