Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.001291/0.001291, allocations: 96.83 kB / 15.69 MB, free: 480 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.001217/0.001217, allocations: 173.5 kB / 16.57 MB, free: 6.391 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.672 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.423/0.423, allocations: 43.54 MB / 314.5 MB, free: 8.988 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.0007494/0.0007495, allocations: 12 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1488, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002162/0.151, allocations: 1.618 MB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.152, allocations: 0.546 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.152, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.1525, allocations: 235.4 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1527, allocations: 171.6 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.1536, allocations: 403.2 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1538, allocations: 187.6 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.154, allocations: 48.98 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1541, allocations: 111.5 kB / 446.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1543, allocations: 139.5 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1543, allocations: 4 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1544, allocations: 39.92 kB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.1545, allocations: 75.73 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.1546, allocations: 69.5 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1548, allocations: 223.6 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.1549, allocations: 7.875 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1549, allocations: 0 / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1549, allocations: 0 / 446.7 MB, free: 9.336 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006741/0.1555, allocations: 0.5951 MB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1556, allocations: 16.02 kB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1556, allocations: 46.48 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.1557, allocations: 39.48 kB / 447.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.156, allocations: 297.3 kB / 447.7 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1561, allocations: 8 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1561, allocations: 16 kB / 447.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1563, allocations: 105.5 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1563, allocations: 8 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1564, allocations: 7.984 kB / 447.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1564, allocations: 3.953 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.1565, allocations: 75.95 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1571, allocations: 496.3 kB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1573, allocations: 102.3 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1573, allocations: 4 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1573, allocations: 34.56 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1573, allocations: 0 / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007437/0.1581, allocations: 395.9 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1581, allocations: 55.36 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.1586, allocations: 0.5448 MB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.1587, allocations: 29.7 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1588, allocations: 204.5 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1589, allocations: 55.11 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1589, allocations: 7.938 kB / 449.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1591, allocations: 350.8 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1592, allocations: 59.97 kB / 450.2 MB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1593, allocations: 51.91 kB / 450.2 MB, free: 5.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1594, allocations: 59.73 kB / 450.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1595, allocations: 4 kB / 450.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003146/0.1598, allocations: 205.1 kB / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1598, allocations: 4 kB / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1598, allocations: 0 / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1598, allocations: 0 / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.16, allocations: 35.92 kB / 450.5 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.16, allocations: 7.984 kB / 450.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1601, allocations: 15.94 kB / 450.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1601, allocations: 12 kB / 450.6 MB, free: 5.211 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 (17): * Single equations (assignments): 17 * 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.0001492/0.1602, allocations: 169.8 kB / 450.7 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.1603, allocations: 35.53 kB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.1607, allocations: 245.3 kB / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1607, allocations: 7.938 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1607, allocations: 0 / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1607, allocations: 0 / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.1614, allocations: 0.6309 MB / 451.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1615, allocations: 0 / 451.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1616, allocations: 35.98 kB / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1616, allocations: 4 kB / 451.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1616, allocations: 11.94 kB / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1616, allocations: 0 / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1616, allocations: 0 / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.162, allocations: 306.2 kB / 452 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.1621, allocations: 124.6 kB / 452.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1621, allocations: 4 kB / 452.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1622, allocations: 15.94 kB / 452.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.1623, allocations: 23.92 kB / 452.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1623, allocations: 4 kB / 452.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004092/0.1627, allocations: 407.1 kB / 452.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1627, allocations: 0 / 452.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.163, allocations: 47.91 kB / 452.6 MB, free: 3.066 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 (17): * Single equations (assignments): 17 * 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.001933/0.1649, allocations: 1.44 MB / 454.1 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.1653, allocations: 139.9 kB / 454.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1653, allocations: 0 / 454.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1654, allocations: 79.84 kB / 454.3 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1658, allocations: 65.45 kB / 454.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2262/0.392, allocations: 1.912 MB / 456.3 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3924, allocations: 0.8173 MB / 457.1 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3926, allocations: 49.95 kB / 457.1 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.3928, allocations: 121.8 kB / 457.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3928, allocations: 2.297 kB / 457.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.4106, allocations: 6.536 MB / 463.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.4108, allocations: 217.7 kB / 464 MB, free: 44.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.238, allocations: 3.875 kB / 464 MB, free: 44.42 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat