Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 96.67 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000884/0.0008841, allocations: 188 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002064/0.1468, allocations: 1.387 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1481, allocations: 0.792 MB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1482, allocations: 3.938 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1485, allocations: 35.83 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1487, allocations: 43.88 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.149, allocations: 91.7 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1492, allocations: 63.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.1493, allocations: 12.23 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.1494, allocations: 35.84 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.1494, allocations: 27.86 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1495, allocations: 4 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.1495, allocations: 27.97 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.1496, allocations: 19.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1497, allocations: 41.64 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1498, allocations: 96.08 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1498, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1498, allocations: 3.938 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1498, allocations: 0 / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004902/0.1503, allocations: 410.8 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1504, allocations: 8.031 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1504, allocations: 34.56 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1505, allocations: 11.81 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1507, allocations: 211.4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1507, allocations: 4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1507, allocations: 3.953 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1509, allocations: 57.67 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1509, allocations: 3.938 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1509, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1509, allocations: 4 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.151, allocations: 15.98 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.1514, allocations: 300.8 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1515, allocations: 58.62 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1516, allocations: 0 / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1518, allocations: 63.52 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1518, allocations: 0 / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004975/0.1523, allocations: 181 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1523, allocations: 55.41 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1525, allocations: 230.6 kB / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1525, allocations: 25.7 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1526, allocations: 108.1 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1527, allocations: 27.64 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.1527, allocations: 4 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1528, allocations: 326.8 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.1528, allocations: 16 kB / 476.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.1529, allocations: 37.7 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.153, allocations: 31.92 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.153, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.1532, allocations: 97.48 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1532, allocations: 8 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1532, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1532, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.1533, allocations: 23.92 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1533, allocations: 4 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1534, allocations: 4.031 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1534, allocations: 4 kB / 476.5 MB, free: 8.359 MB / 350.1 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 (10): * Single equations (assignments): 10 * 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 9.729e-05/0.1535, allocations: 133.8 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.1535, allocations: 11.91 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.1536, allocations: 17.39 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1536, allocations: 0 / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.1536, allocations: 3.984 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1536, allocations: 4 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.154, allocations: 403.7 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.154, allocations: 0 / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.1541, allocations: 15.98 kB / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1541, allocations: 0 / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1541, allocations: 4 kB / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1541, allocations: 80 / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1541, allocations: 7.922 kB / 477.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1543, allocations: 214 kB / 477.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1544, allocations: 96.91 kB / 477.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1544, allocations: 0 / 477.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1545, allocations: 4.188 kB / 477.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1545, allocations: 11.98 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1545, allocations: 11.88 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1547, allocations: 172.2 kB / 477.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1547, allocations: 4 kB / 477.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1549, allocations: 27.98 kB / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001391/0.1563, allocations: 1.165 MB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1565, allocations: 67.89 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1565, allocations: 0 / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.1566, allocations: 24.11 kB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1569, allocations: 32.12 kB / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1581, allocations: 0.9242 MB / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1584, allocations: 0.7121 MB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1585, allocations: 21.17 kB / 480.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.1585, allocations: 39.42 kB / 480.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1585, allocations: 0 / 480.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1743, allocations: 3.071 MB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.1746, allocations: 215.9 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.849, allocations: 0 / 483.9 MB, free: 1.051 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat