Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001158/0.001158, allocations: 93.33 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.001226/0.001226, allocations: 182.6 kB / 17.87 MB, free: 5.598 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.45/1.45, allocations: 223.2 MB / 241.8 MB, free: 396 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.229/0.229, allocations: 44.22 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 10.53 kB / 409.6 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 61.92 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001829/0.1615, allocations: 1.255 MB / 472.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000686/0.1623, allocations: 367.6 kB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.1624, allocations: 4 kB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1626, allocations: 19.88 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1627, allocations: 31.89 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1631, allocations: 91.27 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1632, allocations: 43.88 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.1633, allocations: 8 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.1634, allocations: 19.92 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.1634, allocations: 23.84 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1635, allocations: 0 / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.1635, allocations: 16 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.1636, allocations: 7.984 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.1636, allocations: 41.58 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1638, allocations: 56.2 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.1638, allocations: 0 / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1638, allocations: 0 / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1638, allocations: 0 / 473.5 MB, free: 11.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004111/0.1642, allocations: 375.1 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.1643, allocations: 12.03 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1643, allocations: 42.5 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1643, allocations: 7.906 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1645, allocations: 190.9 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1646, allocations: 0 / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1646, allocations: 4 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1647, allocations: 49.69 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1647, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1648, allocations: 4 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1648, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.1649, allocations: 31.97 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1653, allocations: 292.7 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1655, allocations: 46.55 kB / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1655, allocations: 3.938 kB / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1655, allocations: 30.56 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1655, allocations: 4 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005979/0.1661, allocations: 165.4 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1662, allocations: 51.41 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1664, allocations: 179.8 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1664, allocations: 33.69 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1665, allocations: 92.14 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1665, allocations: 15.75 kB / 475.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1665, allocations: 0 / 475.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1667, allocations: 322.8 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.1668, allocations: 27.92 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.1668, allocations: 31.97 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.59e-05/0.1669, allocations: 23.98 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1669, allocations: 0 / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/0.1672, allocations: 93.58 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1672, allocations: 4 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1672, allocations: 0 / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1672, allocations: 4 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.1673, allocations: 15.98 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1673, allocations: 0 / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.1674, allocations: 11.94 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1674, allocations: 0 / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001068/0.1675, allocations: 126.3 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1675, allocations: 7.906 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1678, allocations: 102.2 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1678, allocations: 4 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1678, allocations: 4.062 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1678, allocations: 4 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.1684, allocations: 374.3 kB / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1684, allocations: 0 / 476.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1685, allocations: 12 kB / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1685, allocations: 4 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1685, allocations: 3.984 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1685, allocations: 4 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1685, allocations: 7.891 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1688, allocations: 187.4 kB / 476.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.1689, allocations: 93 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1689, allocations: 0 / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.169, allocations: 4 kB / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.169, allocations: 7.984 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.169, allocations: 3.953 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1691, allocations: 129.8 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1691, allocations: 0 / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1694, allocations: 16 kB / 476.7 MB, free: 8.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001518/0.1709, allocations: 1.013 MB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1712, allocations: 63.89 kB / 477.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1712, allocations: 4 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.1713, allocations: 27.98 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1715, allocations: 15.94 kB / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1726, allocations: 0.6263 MB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1729, allocations: 0.7004 MB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.173, allocations: 15.97 kB / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1731, allocations: 27.44 kB / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1731, allocations: 3.938 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.1857, allocations: 2.147 MB / 481.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.186, allocations: 215.7 kB / 481.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.937, allocations: 0 / 481.6 MB, free: 3.473 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat does not exist to compare? outputFormat=mat