Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001329/0.00133, allocations: 104 kB / 15.98 MB, free: 6.332 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.001249/0.00125, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.714/1.714, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.461/0.461, allocations: 43.49 MB / 313.6 MB, free: 8.5 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.001699/0.001699, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1601, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.005476/0.1656, allocations: 1.664 MB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1666, allocations: 347.6 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.1667, allocations: 4 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.1674, allocations: 447.2 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.1678, allocations: 247.5 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1683, allocations: 143.8 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1685, allocations: 167.7 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1687, allocations: 20.39 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1688, allocations: 119.7 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.1691, allocations: 215.6 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1691, allocations: 4 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.1692, allocations: 24 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1693, allocations: 91.61 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.1694, allocations: 103 kB / 443.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1698, allocations: 255 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1698, allocations: 3.984 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1698, allocations: 0 / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1698, allocations: 0 / 443.9 MB, free: 10.8 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.0008009/0.1706, allocations: 0.6336 MB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1707, allocations: 15.89 kB / 444.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1707, allocations: 42.73 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.1708, allocations: 44.38 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1711, allocations: 296.1 kB / 444.9 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1711, allocations: 4.375 kB / 444.9 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1711, allocations: 8.125 kB / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1713, allocations: 57.66 kB / 445 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1713, allocations: 0 / 445 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1713, allocations: 4 kB / 445 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1714, allocations: 4 kB / 445 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.1715, allocations: 23.98 kB / 445 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.172, allocations: 400.5 kB / 445.4 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1722, allocations: 50.55 kB / 445.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1723, allocations: 20.86 kB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1723, allocations: 0 / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1724, allocations: 34.64 kB / 445.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1724, allocations: 0 / 445.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006349/0.173, allocations: 231.9 kB / 445.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1731, allocations: 55.41 kB / 445.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.1739, allocations: 0.8691 MB / 446.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.174, allocations: 25.7 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1742, allocations: 228 kB / 446.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1742, allocations: 15.75 kB / 446.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1742, allocations: 17.72 kB / 447 MB, free: 7.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1744, allocations: 362.8 kB / 447.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.1745, allocations: 19.98 kB / 447.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.1746, allocations: 23.98 kB / 447.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1747, allocations: 52.83 kB / 447.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1747, allocations: 0 / 447.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002206/0.175, allocations: 125 kB / 447.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.175, allocations: 4 kB / 447.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.175, allocations: 0 / 447.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.175, allocations: 0 / 447.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.1751, allocations: 23.92 kB / 447.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1751, allocations: 3.938 kB / 447.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.1752, allocations: 4.25 kB / 447.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1752, allocations: 4 kB / 447.6 MB, free: 6.906 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.1754, allocations: 209.8 kB / 447.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1755, allocations: 43.44 kB / 447.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.1758, allocations: 145.1 kB / 448 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1758, allocations: 4.281 kB / 448 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1758, allocations: 3.938 kB / 448 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1759, allocations: 0 / 448 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.1764, allocations: 474.5 kB / 448.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1765, allocations: 0 / 448.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.1765, allocations: 15.98 kB / 448.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1765, allocations: 7.938 kB / 448.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1766, allocations: 4 kB / 448.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1766, allocations: 0 / 448.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1766, allocations: 0 / 448.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1768, allocations: 218.9 kB / 448.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.177, allocations: 112.5 kB / 448.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.177, allocations: 7.938 kB / 448.8 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.1771, allocations: 7.984 kB / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1771, allocations: 4 kB / 448.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1771, allocations: 0 / 448.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006505/0.1778, allocations: 0.6589 MB / 449.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1778, allocations: 0 / 449.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1781, allocations: 24 kB / 449.5 MB, free: 4.883 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.1795, allocations: 1.06 MB / 450.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1797, allocations: 51.97 kB / 450.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1798, allocations: 0 / 450.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1799, allocations: 35.91 kB / 450.6 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1803, allocations: 26.17 kB / 450.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.1843, allocations: 3.342 MB / 454 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2175/0.4018, allocations: 0.8251 MB / 454.8 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.402, allocations: 17.34 kB / 454.8 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4021, allocations: 111.7 kB / 454.9 MB, free: 48.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4021, allocations: 0 / 454.9 MB, free: 48.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.4197, allocations: 5.783 MB / 460.7 MB, free: 47.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.4199, allocations: 230.8 kB / 461 MB, free: 47.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.252, allocations: 3.938 kB / 461 MB, free: 47.25 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches