Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.0009045/0.0009042, allocations: 95.47 kB / 16.99 MB, free: 5.941 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.0008766/0.0008768, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 388 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.2275/0.2275, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 12.5 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1512, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002136/0.1534, allocations: 1.39 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1548, allocations: 0.7959 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.1549, allocations: 3.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1551, allocations: 27.84 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1553, allocations: 51.86 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1556, allocations: 99.64 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1558, allocations: 59.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.1559, allocations: 8.219 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.156, allocations: 35.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.1561, allocations: 35.84 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1561, allocations: 0 / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.1562, allocations: 31.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.1562, allocations: 35.83 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.1563, allocations: 45.62 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1565, allocations: 92.09 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1565, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1565, allocations: 3.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1565, allocations: 0 / 474.2 MB, free: 10.94 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.0005477/0.1571, allocations: 430.6 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1571, allocations: 12.03 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.1572, allocations: 34.56 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1572, allocations: 15.81 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1574, allocations: 199.9 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1575, allocations: 8 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1575, allocations: 7.891 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1576, allocations: 53.67 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1577, allocations: 3.906 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1577, allocations: 11.98 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1577, allocations: 0 / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1578, allocations: 16 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1582, allocations: 300.9 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1584, allocations: 62.61 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1584, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1586, allocations: 63.52 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1586, allocations: 0 / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005421/0.1591, allocations: 189 kB / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1592, allocations: 51.41 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1594, allocations: 275.7 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1595, allocations: 25.7 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1596, allocations: 116.1 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1596, allocations: 27.64 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.1596, allocations: 4 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1598, allocations: 334.8 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.1598, allocations: 19.92 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.1599, allocations: 37.7 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.1599, allocations: 24 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.16, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1601, allocations: 109.4 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1602, allocations: 8 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1602, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1602, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.1603, allocations: 15.98 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1603, allocations: 4 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1604, allocations: 4 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1604, allocations: 4.188 kB / 476.7 MB, free: 8.285 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.0001241/0.1605, allocations: 141.5 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1605, allocations: 23.78 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.1606, allocations: 21.39 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1606, allocations: 0 / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1606, allocations: 0 / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1606, allocations: 3.938 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1611, allocations: 403.3 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1611, allocations: 4 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.1611, allocations: 11.97 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1611, allocations: 4 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1612, allocations: 0 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1612, allocations: 384 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1612, allocations: 4 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1614, allocations: 222.1 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1615, allocations: 96.92 kB / 477.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1615, allocations: 8 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.1616, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1616, allocations: 15.91 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1617, allocations: 7.938 kB / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.1619, allocations: 213.5 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1619, allocations: 0 / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1621, allocations: 24 kB / 477.8 MB, free: 7 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.001472/0.1636, allocations: 1.171 MB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1638, allocations: 59.91 kB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1638, allocations: 0 / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.1639, allocations: 31.86 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1641, allocations: 31.92 kB / 479.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1655, allocations: 1.031 MB / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1659, allocations: 0.7199 MB / 480.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.1659, allocations: 21.17 kB / 480.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.166, allocations: 43.42 kB / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.166, allocations: 0 / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1805, allocations: 3.277 MB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.1807, allocations: 211.7 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.892, allocations: 0 / 484.4 MB, free: 0.5664 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat