Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.0008835/0.0008835, allocations: 92.73 kB / 17 MB, free: 6.418 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.001143/0.001143, allocations: 188.9 kB / 17.89 MB, free: 5.945 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.408/1.408, allocations: 223.2 MB / 241.9 MB, free: 256 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.2521/0.2521, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004897, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002625/0.1561, allocations: 1.351 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1578, allocations: 0.788 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1579, allocations: 4 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1583, allocations: 75.83 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1586, allocations: 59.8 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.159, allocations: 91.77 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1592, allocations: 87.69 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.1592, allocations: 7.984 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1594, allocations: 43.78 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1595, allocations: 43.83 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1595, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1596, allocations: 27.98 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.1597, allocations: 19.91 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.1598, allocations: 41.64 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.16, allocations: 80.05 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.16, allocations: 4 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.16, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1601, allocations: 0 / 474.4 MB, free: 10.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007198/0.1608, allocations: 397.1 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1608, allocations: 8.031 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.1609, allocations: 30.56 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.161, allocations: 11.84 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1613, allocations: 202.9 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1613, allocations: 8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1613, allocations: 7.953 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1615, allocations: 45.67 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1615, allocations: 3.984 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1615, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1615, allocations: 3.938 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.1616, allocations: 15.98 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.1619, allocations: 177.7 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1621, allocations: 58.55 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.18e-05/0.1622, allocations: 16.86 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1623, allocations: 4 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1625, allocations: 75.25 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.1625, allocations: 0 / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003626/0.1629, allocations: 97.52 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.163, allocations: 59.39 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1632, allocations: 207.2 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1633, allocations: 29.7 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.1634, allocations: 104.1 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1634, allocations: 19.75 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.1634, allocations: 0 / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1636, allocations: 322.8 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.1636, allocations: 19.98 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1637, allocations: 25.72 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.1638, allocations: 16.23 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1638, allocations: 0 / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002139/0.1641, allocations: 89.47 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1641, allocations: 7.953 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1641, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1641, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1642, allocations: 20.02 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1643, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.1643, allocations: 11.94 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1644, allocations: 0 / 476.4 MB, free: 8.605 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 (7): * Single equations (assignments): 7 * 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.000133/0.1645, allocations: 126.4 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1645, allocations: 11.81 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1646, allocations: 16.95 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1646, allocations: 4 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1646, allocations: 4 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1646, allocations: 3.984 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1649, allocations: 185.6 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1649, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.1649, allocations: 7.938 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1649, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.165, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.165, allocations: 7.938 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.165, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1652, allocations: 109 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1653, allocations: 92.91 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1653, allocations: 4 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.1654, allocations: 0 / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1654, allocations: 11.94 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1655, allocations: 4 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1656, allocations: 151.2 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1657, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.166, allocations: 24 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001661/0.1677, allocations: 0.9453 MB / 478.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1679, allocations: 43.91 kB / 478.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1679, allocations: 0 / 478.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.168, allocations: 24.06 kB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1684, allocations: 33.55 kB / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1699, allocations: 0.6959 MB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1703, allocations: 0.7043 MB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.1703, allocations: 20.53 kB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1704, allocations: 23.44 kB / 479.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1704, allocations: 4 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.1877, allocations: 2.76 MB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.1881, allocations: 217.9 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.113, allocations: 0 / 482.6 MB, free: 2.453 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat