Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.4 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009503, allocations: 90.27 kB / 292.1 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4465/0.4465, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12 kB / 460 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3802, allocations: 61.91 MB / 0.5097 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5094, allocations: 89.13 MB / 0.5967 GB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5097, allocations: 83.91 kB / 0.5968 GB, free: 5.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.5265, allocations: 6.67 MB / 0.6033 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5266, allocations: 0 / 0.6033 GB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.5266, allocations: 11.98 kB / 0.6033 GB, free: 15.25 MB / 426.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.001219/0.5279, allocations: 0.6998 MB / 0.604 GB, free: 14.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/0.528, allocations: 12.03 kB / 0.604 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.528, allocations: 38.48 kB / 0.604 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5282, allocations: 55.28 kB / 0.6041 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5292, allocations: 479.1 kB / 0.6045 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.5292, allocations: 7.969 kB / 0.6045 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.5292, allocations: 4 kB / 0.6045 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.5295, allocations: 91.34 kB / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5295, allocations: 0 / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5295, allocations: 4 kB / 0.6046 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5296, allocations: 0 / 0.6046 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5297, allocations: 35.91 kB / 0.6047 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.5303, allocations: 378.3 kB / 0.605 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.5306, allocations: 113.2 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.5306, allocations: 0 / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.5309, allocations: 117.1 kB / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.5309, allocations: 0 / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005819/0.5315, allocations: 197 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.5316, allocations: 85.09 kB / 0.6055 GB, free: 12.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.5331, allocations: 0.916 MB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5331, allocations: 25.7 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.5334, allocations: 228.1 kB / 0.6067 GB, free: 11.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.5334, allocations: 35.61 kB / 0.6067 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.5335, allocations: 4 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.5337, allocations: 366.7 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5339, allocations: 27.98 kB / 0.6071 GB, free: 11.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.534, allocations: 55.64 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.5341, allocations: 35.98 kB / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5341, allocations: 4 kB / 0.6072 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003549/0.5345, allocations: 176.9 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.5345, allocations: 4 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5345, allocations: 0 / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.5346, allocations: 4 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5347, allocations: 20.61 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5347, allocations: 0 / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5349, allocations: 23.91 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5349, allocations: 7.984 kB / 0.6074 GB, free: 10.79 MB / 426.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.0002965/0.5352, allocations: 222.2 kB / 0.6076 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.5353, allocations: 59.33 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.5357, allocations: 201.4 kB / 0.6079 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5358, allocations: 4 kB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5358, allocations: 0 / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5358, allocations: 0 / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.5362, allocations: 385.2 kB / 0.6082 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5362, allocations: 4 kB / 0.6082 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.5363, allocations: 11.98 kB / 0.6082 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5363, allocations: 3.953 kB / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5363, allocations: 4 kB / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5363, allocations: 0 / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5363, allocations: 0 / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.5368, allocations: 235 kB / 0.6085 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.5372, allocations: 196.3 kB / 0.6087 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.5372, allocations: 8 kB / 0.6087 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5373, allocations: 8 kB / 0.6087 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.5374, allocations: 7.984 kB / 0.6087 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.5375, allocations: 11.98 kB / 0.6087 GB, free: 9.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.5385, allocations: 0.7253 MB / 0.6094 GB, free: 8.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5386, allocations: 4 kB / 0.6094 GB, free: 8.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.539, allocations: 79.98 kB / 0.6095 GB, free: 8.535 MB / 426.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.002025/0.541, allocations: 1.158 MB / 0.6106 GB, free: 7.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.5413, allocations: 83.91 kB / 0.6107 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5413, allocations: 0 / 0.6107 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.5415, allocations: 51.91 kB / 0.6107 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.542, allocations: 58.27 kB / 0.6108 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.5472, allocations: 3.277 MB / 0.614 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.5478, allocations: 0.8546 MB / 0.6148 GB, free: 3.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.5482, allocations: 91.42 kB / 0.6149 GB, free: 2.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.5484, allocations: 159.4 kB / 0.6151 GB, free: 2.828 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5485, allocations: 0 / 0.6151 GB, free: 2.828 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.5711, allocations: 9.036 MB / 0.6239 GB, free: 9.949 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.5714, allocations: 219.1 kB / 0.6241 GB, free: 9.703 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.833, allocations: 0 / 0.6241 GB, free: 9.703 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat