Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.0008699/0.0008736, allocations: 97.67 kB / 16.99 MB, free: 6.402 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.0008796/0.0008797, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2402/0.2402, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004219, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001978/0.1528, allocations: 1.263 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1542, allocations: 0.9492 MB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1543, allocations: 0 / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.1545, allocations: 23.86 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1547, allocations: 39.83 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1549, allocations: 86.45 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1551, allocations: 31.95 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1552, allocations: 15.98 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.1552, allocations: 19.88 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1554, allocations: 23.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1554, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.1555, allocations: 27.98 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.1555, allocations: 15.86 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1556, allocations: 29.7 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1557, allocations: 68.12 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.1557, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1557, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1557, allocations: 4 kB / 474.1 MB, free: 11.01 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.0004883/0.1562, allocations: 371.1 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1563, allocations: 12.03 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1563, allocations: 34.5 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1564, allocations: 4 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1566, allocations: 186.9 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1566, allocations: 0 / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1566, allocations: 7.953 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1568, allocations: 67.39 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1568, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1568, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1568, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1569, allocations: 31.92 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1573, allocations: 288.9 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1576, allocations: 46.55 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1576, allocations: 0 / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1576, allocations: 34.5 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.1576, allocations: 4 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005789/0.1582, allocations: 165.4 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1583, allocations: 81.11 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1585, allocations: 137.8 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1585, allocations: 29.7 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1585, allocations: 92.08 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1586, allocations: 11.81 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1586, allocations: 0 / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1587, allocations: 322.8 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.1588, allocations: 27.98 kB / 476 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.1589, allocations: 41.69 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.1589, allocations: 27.98 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.159, allocations: 0 / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1591, allocations: 93.61 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1592, allocations: 4 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1592, allocations: 256 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1592, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.1593, allocations: 23.92 kB / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1593, allocations: 4 kB / 476.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.1593, allocations: 12.27 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1594, allocations: 3.938 kB / 476.3 MB, free: 8.648 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 9.831e-05/0.1595, allocations: 118.3 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1595, allocations: 7.906 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.1597, allocations: 109.6 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1598, allocations: 0 / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1598, allocations: 7.984 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1598, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1602, allocations: 362.5 kB / 476.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1602, allocations: 0 / 476.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.1603, allocations: 12 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1603, allocations: 0 / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1603, allocations: 7.984 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1603, allocations: 0 / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1603, allocations: 0 / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1606, allocations: 199.3 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1606, allocations: 89 kB / 477.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1606, allocations: 0 / 477.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1607, allocations: 7.984 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1608, allocations: 8 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1608, allocations: 192 / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.416e-05/0.1609, allocations: 109.9 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1609, allocations: 0 / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1611, allocations: 23.98 kB / 477.3 MB, free: 7.504 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.001353/0.1625, allocations: 1.061 MB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1627, allocations: 59.97 kB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1627, allocations: 0 / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1628, allocations: 27.98 kB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.163, allocations: 19.92 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.164, allocations: 0.5376 MB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1643, allocations: 0.6887 MB / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.1643, allocations: 19.95 kB / 479.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.1644, allocations: 27.42 kB / 479.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1644, allocations: 0 / 479.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.1773, allocations: 2.303 MB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1775, allocations: 215.3 kB / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.947, allocations: 0 / 482.2 MB, free: 2.723 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat