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.002416/0.002416, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.921/1.921, 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.0009741/0.0009739, allocations: 94.86 kB / 270.2 MB, free: 13.36 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.2193/0.2193, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004661, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 58.87 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.488, allocations: 87.57 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4883, allocations: 75.34 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.5053, allocations: 6.468 MB / 0.5708 GB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5054, allocations: 0 / 0.5708 GB, free: 6.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.5055, allocations: 8 kB / 0.5708 GB, free: 6.523 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.001234/0.5067, allocations: 0.7095 MB / 0.5715 GB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5068, allocations: 8.031 kB / 0.5715 GB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.5068, allocations: 41.88 kB / 0.5715 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.5069, allocations: 51.3 kB / 0.5716 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.5078, allocations: 481.3 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5078, allocations: 0 / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.5078, allocations: 4 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.508, allocations: 88.23 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5081, allocations: 0 / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5081, allocations: 0 / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5081, allocations: 8 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5082, allocations: 34.09 kB / 0.5722 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.5086, allocations: 374.5 kB / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.5089, allocations: 118.9 kB / 0.5726 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.509, allocations: 0 / 0.5726 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.5092, allocations: 114.2 kB / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.5093, allocations: 0 / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005189/0.5098, allocations: 202.1 kB / 0.5729 GB, free: 4.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.5098, allocations: 81.73 kB / 0.573 GB, free: 4.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.511, allocations: 0.9135 MB / 0.5739 GB, free: 3.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.5111, allocations: 29.7 kB / 0.5739 GB, free: 3.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5112, allocations: 228.8 kB / 0.5741 GB, free: 3.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.5113, allocations: 34.66 kB / 0.5742 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5113, allocations: 3.5 kB / 0.5742 GB, free: 3.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5114, allocations: 372.8 kB / 0.5745 GB, free: 2.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.5115, allocations: 26.3 kB / 0.5746 GB, free: 2.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.5116, allocations: 62.91 kB / 0.5746 GB, free: 2.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.5117, allocations: 29.06 kB / 0.5746 GB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5117, allocations: 3.938 kB / 0.5747 GB, free: 2.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.512, allocations: 168.5 kB / 0.5748 GB, free: 2.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.512, allocations: 15.5 kB / 0.5748 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.512, allocations: 0 / 0.5748 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5121, allocations: 4 kB / 0.5748 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.5122, allocations: 19.98 kB / 0.5748 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5122, allocations: 3.938 kB / 0.5749 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5123, allocations: 23.08 kB / 0.5749 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5123, allocations: 4 kB / 0.5749 GB, free: 2.672 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.000214/0.5125, allocations: 232.1 kB / 0.5751 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.5126, allocations: 51.44 kB / 0.5751 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.513, allocations: 203.2 kB / 0.5753 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.513, allocations: 7.984 kB / 0.5754 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.513, allocations: 4 kB / 0.5754 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.513, allocations: 0 / 0.5754 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.5134, allocations: 379.2 kB / 0.5757 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5134, allocations: 0 / 0.5757 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.5134, allocations: 19.92 kB / 0.5757 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5134, allocations: 0 / 0.5757 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5135, allocations: 4 kB / 0.5757 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5135, allocations: 4 kB / 0.5757 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5135, allocations: 7.875 kB / 0.5757 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.5138, allocations: 223.6 kB / 0.576 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.5141, allocations: 189.2 kB / 0.5761 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.5142, allocations: 11.75 kB / 0.5762 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5143, allocations: 11.98 kB / 0.5762 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.5144, allocations: 11.19 kB / 0.5762 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.5144, allocations: 7.984 kB / 0.5762 GB, free: 1.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000859/0.5153, allocations: 0.724 MB / 0.5769 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5153, allocations: 4 kB / 0.5769 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000342/0.5156, allocations: 79.17 kB / 0.577 GB, free: 0.7773 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.00168/0.5173, allocations: 1.148 MB / 0.5781 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.5176, allocations: 91.14 kB / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5176, allocations: 128 / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.5177, allocations: 48.86 kB / 0.5782 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.5181, allocations: 66.02 kB / 0.5783 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.5223, allocations: 3.276 MB / 0.5815 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.5228, allocations: 0.8459 MB / 0.5823 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.523, allocations: 90.52 kB / 0.5824 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.5232, allocations: 162.8 kB / 0.5826 GB, free: 11.54 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5233, allocations: 0 / 0.5826 GB, free: 11.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.5458, allocations: 9.034 MB / 0.5914 GB, free: 2.512 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.5461, allocations: 213.8 kB / 0.5916 GB, free: 2.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.766, allocations: 0 / 0.5916 GB, free: 2.27 MB / 394.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