Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.0009196/0.0009197, allocations: 96.67 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 175.2 kB / 16.57 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4358/0.4358, allocations: 43.54 MB / 314.5 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006262/0.0006263, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1506, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002306/0.153, allocations: 1.318 MB / 444.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.1536, allocations: 287.9 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.1537, allocations: 0 / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.1543, allocations: 439.2 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1546, allocations: 247.5 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.155, allocations: 143.7 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1552, allocations: 115.8 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1553, allocations: 20.25 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1555, allocations: 99.78 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1557, allocations: 155.7 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1557, allocations: 0 / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.1558, allocations: 16 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.1559, allocations: 83.69 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.1559, allocations: 69.52 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1562, allocations: 187.7 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1562, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1562, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1562, allocations: 3.938 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007882/0.157, allocations: 0.6104 MB / 446.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1571, allocations: 12.03 kB / 446.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1571, allocations: 30.56 kB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.1572, allocations: 51.33 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1575, allocations: 271.4 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1575, allocations: 8 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1575, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1577, allocations: 65.67 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1577, allocations: 0 / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1578, allocations: 4 kB / 447 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1578, allocations: 0 / 447 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1579, allocations: 51.91 kB / 447.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.1585, allocations: 412.6 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1587, allocations: 54.55 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1587, allocations: 4 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1587, allocations: 30.56 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1587, allocations: 4 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008746/0.1596, allocations: 344 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1597, allocations: 51.41 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.1605, allocations: 0.8652 MB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1605, allocations: 25.7 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1607, allocations: 219.9 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1607, allocations: 19.64 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.1607, allocations: 8 kB / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1609, allocations: 354.8 kB / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.161, allocations: 51.95 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1611, allocations: 43.97 kB / 449.5 MB, free: 6.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1613, allocations: 51.97 kB / 449.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1613, allocations: 3.938 kB / 449.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003257/0.1616, allocations: 177.1 kB / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1616, allocations: 7.953 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1616, allocations: 0 / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1617, allocations: 0 / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1618, allocations: 27.98 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1618, allocations: 7.938 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.1619, allocations: 11.98 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1619, allocations: 4 kB / 449.8 MB, free: 5.969 MB / 382.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 (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.0002028/0.1621, allocations: 217.8 kB / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.1622, allocations: 39.53 kB / 450.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.1626, allocations: 205.3 kB / 450.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1626, allocations: 0 / 450.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1626, allocations: 3.938 kB / 450.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1626, allocations: 0 / 450.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.1634, allocations: 0.5261 MB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1634, allocations: 3.953 kB / 450.8 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.1635, allocations: 23.98 kB / 450.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1635, allocations: 0 / 450.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1635, allocations: 8 kB / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1635, allocations: 0 / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1635, allocations: 0 / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1639, allocations: 274.9 kB / 451.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.164, allocations: 116.6 kB / 451.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.164, allocations: 0 / 451.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1641, allocations: 12 kB / 451.2 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1642, allocations: 11.98 kB / 451.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1642, allocations: 4 kB / 451.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006603/0.1649, allocations: 0.6511 MB / 451.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1649, allocations: 0 / 451.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1652, allocations: 28 kB / 451.9 MB, free: 3.758 MB / 382.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 (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 Backend phase and start with SimCode phase: time 0.001552/0.1667, allocations: 1.117 MB / 453.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.167, allocations: 107.9 kB / 453.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1671, allocations: 0 / 453.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.1672, allocations: 55.91 kB / 453.2 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1675, allocations: 25.95 kB / 453.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.1706, allocations: 2.325 MB / 455.6 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2427/0.4133, allocations: 0.8351 MB / 456.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.4136, allocations: 22.27 kB / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.4139, allocations: 115 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4139, allocations: 0 / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.4322, allocations: 5.538 MB / 462.1 MB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4324, allocations: 213.1 kB / 462.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.164, allocations: 3.938 kB / 462.3 MB, free: 45.33 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat