Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001616/0.001616, allocations: 184.1 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.324/1.324, allocations: 223.2 MB / 241 MB, free: 11.9 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.0008185/0.0008185, allocations: 100.2 kB / 292.1 MB, free: 10.93 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.3045/0.3045, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004071, allocations: 16 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3396, allocations: 61.89 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.4504, allocations: 89.36 MB / 0.5969 GB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4507, allocations: 79.92 kB / 0.597 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.4667, allocations: 6.069 MB / 0.6029 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4667, allocations: 0 / 0.6029 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4668, allocations: 4 kB / 0.6029 GB, free: 15.62 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.0005906/0.4674, allocations: 446.6 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4674, allocations: 12.03 kB / 0.6034 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.4675, allocations: 30.56 kB / 0.6034 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.4675, allocations: 19.8 kB / 0.6034 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.4679, allocations: 223.6 kB / 0.6036 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.4679, allocations: 11.95 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.468, allocations: 7.906 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4681, allocations: 65.59 kB / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4682, allocations: 0 / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4682, allocations: 0 / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4682, allocations: 0 / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.4683, allocations: 27.98 kB / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.4687, allocations: 320.7 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.469, allocations: 62.48 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.469, allocations: 4 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.4691, allocations: 63.52 kB / 0.6042 GB, free: 14.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4691, allocations: 0 / 0.6042 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007764/0.4699, allocations: 249.2 kB / 0.6044 GB, free: 13.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.47, allocations: 55.41 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4702, allocations: 218.8 kB / 0.6047 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4702, allocations: 25.7 kB / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4703, allocations: 116.2 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.4703, allocations: 31.55 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4704, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4705, allocations: 342.7 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.4706, allocations: 28 kB / 0.6052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.4706, allocations: 49.69 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.4707, allocations: 32 kB / 0.6053 GB, free: 13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4707, allocations: 0 / 0.6053 GB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002143/0.4709, allocations: 133.4 kB / 0.6054 GB, free: 12.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.471, allocations: 9.562 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.471, allocations: 0 / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.471, allocations: 4.031 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.4711, allocations: 23.98 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.4711, allocations: 0 / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.4712, allocations: 4 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4712, allocations: 4 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001148/0.4713, allocations: 148.4 kB / 0.6056 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.4713, allocations: 19.81 kB / 0.6056 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.4716, allocations: 155.7 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4717, allocations: 3.984 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4717, allocations: 0 / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4717, allocations: 7.984 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.4723, allocations: 483.9 kB / 0.6062 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4723, allocations: 0 / 0.6062 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.4724, allocations: 23.98 kB / 0.6062 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4724, allocations: 4.062 kB / 0.6062 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4724, allocations: 4 kB / 0.6062 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4724, allocations: 0 / 0.6062 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4724, allocations: 7.891 kB / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.4727, allocations: 260.5 kB / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.4728, allocations: 104.9 kB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4728, allocations: 4 kB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.4729, allocations: 4 kB / 0.6066 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4729, allocations: 15.92 kB / 0.6066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.473, allocations: 4 kB / 0.6066 GB, free: 11.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4731, allocations: 184.3 kB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4731, allocations: 3.938 kB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.4734, allocations: 47.92 kB / 0.6068 GB, free: 11.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001792/0.4752, allocations: 1.353 MB / 0.6082 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4754, allocations: 79.91 kB / 0.6082 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4755, allocations: 0 / 0.6082 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.4756, allocations: 47.92 kB / 0.6083 GB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4758, allocations: 24.16 kB / 0.6083 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4773, allocations: 1.068 MB / 0.6094 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4776, allocations: 0.716 MB / 0.6101 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.4777, allocations: 28.62 kB / 0.6101 GB, free: 8.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.4777, allocations: 43.42 kB / 0.6101 GB, free: 7.969 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4778, allocations: 192 / 0.6101 GB, free: 7.969 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.4935, allocations: 3.631 MB / 0.6137 GB, free: 4.465 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.4938, allocations: 212.7 kB / 0.6139 GB, free: 4.227 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.183, allocations: 0 / 0.6139 GB, free: 4.227 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat