Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001873/0.001874, allocations: 183.3 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.81/1.81, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001074/0.001074, allocations: 90.84 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.2161/0.2161, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 16 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5269, allocations: 87.58 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5272, allocations: 72.97 kB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.5441, allocations: 6.457 MB / 0.5708 GB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5441, allocations: 0 / 0.5708 GB, free: 6.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.5442, allocations: 8 kB / 0.5708 GB, free: 6.535 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.001382/0.5456, allocations: 0.7087 MB / 0.5715 GB, free: 5.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.5456, allocations: 12.03 kB / 0.5715 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.5457, allocations: 37.86 kB / 0.5715 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.5459, allocations: 55.3 kB / 0.5716 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.547, allocations: 472.2 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5471, allocations: 3.984 kB / 0.572 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.5471, allocations: 4 kB / 0.572 GB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.5473, allocations: 95.78 kB / 0.5721 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5474, allocations: 4 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5474, allocations: 4 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.5474, allocations: 0 / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.5475, allocations: 33.53 kB / 0.5721 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.5481, allocations: 379.7 kB / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.5484, allocations: 115.1 kB / 0.5726 GB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5484, allocations: 0 / 0.5726 GB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.5487, allocations: 118.2 kB / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.5487, allocations: 0 / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005611/0.5493, allocations: 202.1 kB / 0.5729 GB, free: 4.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.5493, allocations: 86.03 kB / 0.573 GB, free: 4.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.5507, allocations: 0.9127 MB / 0.5739 GB, free: 3.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.5508, allocations: 25.7 kB / 0.5739 GB, free: 3.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.5509, allocations: 227.4 kB / 0.5741 GB, free: 3.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.551, allocations: 34.98 kB / 0.5742 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.551, allocations: 8 kB / 0.5742 GB, free: 3.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5512, allocations: 370.1 kB / 0.5745 GB, free: 2.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.5513, allocations: 27.67 kB / 0.5746 GB, free: 2.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.5515, allocations: 54.67 kB / 0.5746 GB, free: 2.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.5516, allocations: 39.55 kB / 0.5747 GB, free: 2.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5516, allocations: 4 kB / 0.5747 GB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000338/0.5519, allocations: 167.9 kB / 0.5748 GB, free: 2.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.552, allocations: 4 kB / 0.5748 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.552, allocations: 0 / 0.5748 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.552, allocations: 4 kB / 0.5748 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5521, allocations: 19.98 kB / 0.5748 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5522, allocations: 7.938 kB / 0.5748 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.5523, allocations: 16.34 kB / 0.5749 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.5523, allocations: 12.05 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.0002635/0.5526, allocations: 232.8 kB / 0.5751 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5527, allocations: 47.44 kB / 0.5751 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.5531, allocations: 203.4 kB / 0.5753 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.5531, allocations: 7.984 kB / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5531, allocations: 0 / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5531, allocations: 0 / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.5535, allocations: 382.6 kB / 0.5757 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5536, allocations: 4 kB / 0.5757 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.5536, allocations: 11.98 kB / 0.5757 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5536, allocations: 0 / 0.5757 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.5536, allocations: 7.75 kB / 0.5757 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5537, allocations: 3.938 kB / 0.5757 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5537, allocations: 0 / 0.5757 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.554, allocations: 226.4 kB / 0.576 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.5544, allocations: 192 kB / 0.5761 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.5545, allocations: 4 kB / 0.5761 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.5546, allocations: 11.81 kB / 0.5762 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.5546, allocations: 11.92 kB / 0.5762 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5546, allocations: 4 kB / 0.5762 GB, free: 1.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008267/0.5555, allocations: 0.7352 MB / 0.5769 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5555, allocations: 0 / 0.5769 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.5558, allocations: 83.36 kB / 0.577 GB, free: 0.7852 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.001579/0.5574, allocations: 1.152 MB / 0.5781 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.5577, allocations: 87.09 kB / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5577, allocations: 0 / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.5578, allocations: 52.66 kB / 0.5782 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.5582, allocations: 55.59 kB / 0.5783 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.5624, allocations: 3.282 MB / 0.5815 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.5629, allocations: 0.8574 MB / 0.5823 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.5631, allocations: 87.12 kB / 0.5824 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.5633, allocations: 158.2 kB / 0.5826 GB, free: 11.54 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5633, allocations: 0 / 0.5826 GB, free: 11.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.5858, allocations: 9.035 MB / 0.5914 GB, free: 2.516 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.586, allocations: 213.8 kB / 0.5916 GB, free: 2.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.752, allocations: 0 / 0.5916 GB, free: 2.273 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat