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.0009378/0.0009376, allocations: 88.19 kB / 15.7 MB, free: 460 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.0011/0.0011, allocations: 172.7 kB / 16.58 MB, free: 6.84 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.523/1.523, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3782/0.3782, allocations: 43.55 MB / 314.6 MB, free: 9.02 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.0004992/0.0004992, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, 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.00219/0.1574, allocations: 1.31 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.1582, allocations: 331.7 kB / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.1583, allocations: 4 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.1589, allocations: 439.2 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1593, allocations: 247.5 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1598, allocations: 135.8 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.16, allocations: 131.6 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1602, allocations: 20.23 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1603, allocations: 99.8 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1606, allocations: 171.7 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1606, allocations: 4 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1607, allocations: 27.98 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1609, allocations: 87.67 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.161, allocations: 65.52 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1613, allocations: 183.7 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.1613, allocations: 0 / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1613, allocations: 4 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1613, allocations: 4 kB / 446.1 MB, free: 9.949 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.0009204/0.1623, allocations: 0.6142 MB / 446.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1623, allocations: 8.031 kB / 446.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1624, allocations: 30.56 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.1625, allocations: 47.39 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1628, allocations: 271.5 kB / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1629, allocations: 4 kB / 447.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1629, allocations: 8 kB / 447.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1631, allocations: 61.67 kB / 447.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1631, allocations: 0 / 447.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1631, allocations: 7.875 kB / 447.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1632, allocations: 3.984 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.1633, allocations: 55.92 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.1639, allocations: 408.6 kB / 447.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1641, allocations: 54.56 kB / 447.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.1641, allocations: 32.88 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1642, allocations: 0 / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1642, allocations: 34.52 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1642, allocations: 0 / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009875/0.1652, allocations: 340.2 kB / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1653, allocations: 51.41 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.1662, allocations: 0.8652 MB / 449 MB, free: 6.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1662, allocations: 29.7 kB / 449 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.1664, allocations: 219.9 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1664, allocations: 19.7 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.1664, allocations: 4 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1666, allocations: 354.8 kB / 449.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1668, allocations: 51.97 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1669, allocations: 47.95 kB / 449.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.167, allocations: 48.03 kB / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.167, allocations: 4 kB / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003278/0.1674, allocations: 173 kB / 449.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1674, allocations: 15.94 kB / 449.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1674, allocations: 3.984 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1674, allocations: 0 / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1676, allocations: 27.97 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1676, allocations: 4 kB / 450 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.1677, allocations: 8 kB / 450 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1677, allocations: 4 kB / 450 MB, free: 5.855 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.0002098/0.1679, allocations: 221.8 kB / 450.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.168, allocations: 43.48 kB / 450.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.1684, allocations: 205.6 kB / 450.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1684, allocations: 7.984 kB / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1684, allocations: 0 / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1684, allocations: 0 / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.1691, allocations: 0.5179 MB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1691, allocations: 0 / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.1692, allocations: 31.91 kB / 451 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1692, allocations: 0 / 451 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1693, allocations: 8 kB / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1693, allocations: 0 / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1693, allocations: 4 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.1697, allocations: 274.8 kB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1698, allocations: 108.6 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1699, allocations: 4 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.17, allocations: 11.98 kB / 451.4 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.1701, allocations: 11.98 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1701, allocations: 0 / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007592/0.1709, allocations: 0.655 MB / 452 MB, free: 3.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1709, allocations: 0 / 452 MB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1712, allocations: 28 kB / 452.1 MB, free: 3.633 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.001734/0.1729, allocations: 1.105 MB / 453.2 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1732, allocations: 111.9 kB / 453.3 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1733, allocations: 3.938 kB / 453.3 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1734, allocations: 59.95 kB / 453.4 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1738, allocations: 21.95 kB / 453.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2167/0.3905, allocations: 2.427 MB / 455.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3909, allocations: 0.8284 MB / 456.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.391, allocations: 19.67 kB / 456.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3912, allocations: 113 kB / 456.8 MB, free: 45.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3912, allocations: 0 / 456.8 MB, free: 45.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.4084, allocations: 5.545 MB / 462.3 MB, free: 45.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.4086, allocations: 218.8 kB / 462.5 MB, free: 45.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.215, allocations: 0 / 462.5 MB, free: 45.16 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