Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.001087/0.001087, allocations: 106.7 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.001027/0.001027, allocations: 198 kB / 16.91 MB, free: 6.18 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.614/1.614, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.3784/0.3784, allocations: 43.49 MB / 313.6 MB, free: 8.277 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.001514/0.001514, allocations: 64.47 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1562, allocations: 57.79 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.004249/0.1606, allocations: 1.999 MB / 442.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1625, allocations: 0.9561 MB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1627, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.163, allocations: 31.77 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.1635, allocations: 131.6 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1646, allocations: 375.4 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.165, allocations: 247.3 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.1653, allocations: 72.39 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.1656, allocations: 119.5 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1658, allocations: 175.3 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.1659, allocations: 16 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.166, allocations: 39.97 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1662, allocations: 135.6 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1664, allocations: 166.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.1669, allocations: 358.5 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1669, allocations: 0 / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1669, allocations: 4 kB / 444.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.167, allocations: 0 / 444.9 MB, free: 9.574 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001169/0.1681, allocations: 0.7658 MB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1682, allocations: 15.89 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.1683, allocations: 46.69 kB / 445.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1684, allocations: 56.27 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.169, allocations: 443.9 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.169, allocations: 4.375 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.169, allocations: 23.83 kB / 446.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1693, allocations: 131.1 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1694, allocations: 7.984 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1694, allocations: 8 kB / 446.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1694, allocations: 0 / 446.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1696, allocations: 75.89 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1707, allocations: 0.6683 MB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1709, allocations: 109.2 kB / 447.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.171, allocations: 49.77 kB / 447.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.171, allocations: 15.91 kB / 447.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1711, allocations: 38.5 kB / 447.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1711, allocations: 0 / 447.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001472/0.1726, allocations: 0.4981 MB / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1726, allocations: 81.11 kB / 447.9 MB, free: 6.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1737, allocations: 0.874 MB / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1737, allocations: 25.7 kB / 448.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1739, allocations: 252.2 kB / 449.1 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.174, allocations: 51.2 kB / 449.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.174, allocations: 37.69 kB / 449.1 MB, free: 5.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1742, allocations: 370.7 kB / 449.5 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1744, allocations: 51.97 kB / 449.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1745, allocations: 77.67 kB / 449.6 MB, free: 4.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1749, allocations: 133.8 kB / 449.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1749, allocations: 0 / 449.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004755/0.1754, allocations: 224.9 kB / 450 MB, free: 4.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1754, allocations: 8 kB / 450 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1754, allocations: 0 / 450 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1754, allocations: 0 / 450 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1756, allocations: 43.91 kB / 450 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1756, allocations: 0 / 450 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1758, allocations: 15.89 kB / 450.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1758, allocations: 4.219 kB / 450.1 MB, free: 4.133 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002199/0.1761, allocations: 213.7 kB / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1762, allocations: 55.28 kB / 450.3 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.1768, allocations: 262.8 kB / 450.6 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1768, allocations: 4 kB / 450.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1768, allocations: 7.984 kB / 450.6 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1768, allocations: 0 / 450.6 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1779, allocations: 0.7749 MB / 451.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1779, allocations: 4 kB / 451.4 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.178, allocations: 39.97 kB / 451.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1781, allocations: 0 / 451.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1781, allocations: 4 kB / 451.4 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1781, allocations: 7.922 kB / 451.4 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1781, allocations: 4 kB / 451.4 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.1786, allocations: 405.8 kB / 451.8 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1788, allocations: 148.4 kB / 452 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.1788, allocations: 4 kB / 452 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.179, allocations: 15.92 kB / 452 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.1791, allocations: 15.98 kB / 452 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1791, allocations: 7.938 kB / 452 MB, free: 2.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000721/0.1798, allocations: 0.6393 MB / 452.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1799, allocations: 0 / 452.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1802, allocations: 52 kB / 452.7 MB, free: 1.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001743/0.182, allocations: 1.234 MB / 453.9 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.1824, allocations: 155.8 kB / 454.1 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1824, allocations: 0 / 454.1 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2177/0.4002, allocations: 72.55 kB / 454.2 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.4012, allocations: 75.61 kB / 454.2 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.407, allocations: 5.167 MB / 459.4 MB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.4073, allocations: 0.8544 MB / 460.2 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.4075, allocations: 75.45 kB / 460.3 MB, free: 46.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.4077, allocations: 167.2 kB / 460.5 MB, free: 46.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4077, allocations: 0 / 460.5 MB, free: 46.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.4272, allocations: 9.21 MB / 469.7 MB, free: 45.78 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.4274, allocations: 228.2 kB / 469.9 MB, free: 45.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.509, allocations: 4 kB / 469.9 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches