Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.0009086/0.0009086, allocations: 98.23 kB / 17 MB, free: 6.391 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.0007673/0.0007674, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.341/1.341, allocations: 223.2 MB / 241.9 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002464/0.1393, allocations: 1.39 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1407, allocations: 0.7997 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.1408, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1411, allocations: 35.83 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1413, allocations: 43.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1416, allocations: 87.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1418, allocations: 83.69 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1419, allocations: 8.234 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.142, allocations: 39.78 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.1421, allocations: 27.84 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1422, allocations: 4 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1423, allocations: 36 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.1423, allocations: 19.91 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1424, allocations: 37.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1426, allocations: 76.11 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1426, allocations: 0 / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1426, allocations: 0 / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1426, allocations: 0 / 474.4 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.0005966/0.1432, allocations: 390.9 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1433, allocations: 8.031 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.1433, allocations: 42.48 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.1433, allocations: 7.906 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1436, allocations: 199.5 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1436, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1436, allocations: 11.94 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1438, allocations: 57.61 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1438, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1438, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1438, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.1439, allocations: 19.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1443, allocations: 288.9 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1445, allocations: 58.61 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1445, allocations: 24.84 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1446, allocations: 0 / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1448, allocations: 67.39 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1448, allocations: 0 / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005328/0.1454, allocations: 169.2 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1454, allocations: 51.41 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1456, allocations: 164.3 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1456, allocations: 25.7 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.1457, allocations: 100.1 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1457, allocations: 31.64 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1457, allocations: 0 / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1459, allocations: 326.8 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.1459, allocations: 19.94 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.146, allocations: 41.64 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.1461, allocations: 23.98 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1461, allocations: 0 / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.1463, allocations: 101.5 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1463, allocations: 4 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1463, allocations: 0 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1463, allocations: 4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1464, allocations: 15.98 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1464, allocations: 0 / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1465, allocations: 4.375 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1465, allocations: 4 kB / 476.6 MB, free: 8.465 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 0.0001128/0.1466, allocations: 133.8 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1466, allocations: 11.89 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1467, allocations: 16.66 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1467, allocations: 8 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1467, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1467, allocations: 3.984 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1471, allocations: 387.2 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1471, allocations: 32 / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1472, allocations: 19.92 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1472, allocations: 0 / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1472, allocations: 8 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1472, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1472, allocations: 240 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1474, allocations: 204.2 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1475, allocations: 97 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1475, allocations: 0 / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.1476, allocations: 4 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1476, allocations: 11.98 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1477, allocations: 0 / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.1478, allocations: 130 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1478, allocations: 0 / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.148, allocations: 24 kB / 477.6 MB, free: 7.324 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.001422/0.1495, allocations: 1.092 MB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1497, allocations: 55.92 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1497, allocations: 0 / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.1497, allocations: 27.92 kB / 478.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1501, allocations: 31.91 kB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1511, allocations: 0.6551 MB / 479.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1514, allocations: 0.7005 MB / 480.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1515, allocations: 21.17 kB / 480.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.1515, allocations: 31.42 kB / 480.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1515, allocations: 0 / 480.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1651, allocations: 2.812 MB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.1654, allocations: 222.7 kB / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.991, allocations: 0 / 483.2 MB, free: 1.859 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat