Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001143/0.001143, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001164/0.001164, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 71.8 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.145, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004377/0.1494, allocations: 1.603 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.1505, allocations: 447.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1506, allocations: 4 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.1513, allocations: 447.1 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.1519, allocations: 259.5 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.1526, allocations: 174.5 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.153, allocations: 167.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1531, allocations: 12.19 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1533, allocations: 111.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.1536, allocations: 211.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1537, allocations: 0 / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1538, allocations: 39.92 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1539, allocations: 83.64 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.154, allocations: 103 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1544, allocations: 255.2 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1544, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1544, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1544, allocations: 4 kB / 473.2 MB, free: 10.37 MB / 350.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.001026/0.1555, allocations: 0.6336 MB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1555, allocations: 12.03 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1556, allocations: 38.73 kB / 473.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.1556, allocations: 40.47 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.156, allocations: 304.1 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1561, allocations: 8.312 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1561, allocations: 4.125 kB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1563, allocations: 61.67 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1563, allocations: 0 / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1563, allocations: 3.984 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1563, allocations: 0 / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1565, allocations: 31.98 kB / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.1571, allocations: 400.5 kB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1573, allocations: 50.55 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1574, allocations: 12.86 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1574, allocations: 80 / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1575, allocations: 34.66 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1575, allocations: 0 / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000747/0.1582, allocations: 235.9 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1583, allocations: 55.41 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.1591, allocations: 0.8652 MB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1591, allocations: 29.7 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1593, allocations: 228 kB / 476.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1594, allocations: 19.75 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1594, allocations: 13.72 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1596, allocations: 366.8 kB / 476.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.1597, allocations: 19.98 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1598, allocations: 23.92 kB / 476.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1599, allocations: 52.83 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1599, allocations: 0 / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002239/0.1601, allocations: 121.1 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1602, allocations: 8 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1602, allocations: 4 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1602, allocations: 0 / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.1603, allocations: 11.98 kB / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1603, allocations: 3.938 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1604, allocations: 11.88 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1604, allocations: 4 kB / 476.9 MB, free: 6.465 MB / 350.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.0001908/0.1606, allocations: 213.8 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1606, allocations: 43.47 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.1609, allocations: 145.4 kB / 477.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1609, allocations: 4 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.161, allocations: 3.938 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.161, allocations: 0 / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1615, allocations: 470.3 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1615, allocations: 8 kB / 477.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.1616, allocations: 11.98 kB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1616, allocations: 3.938 kB / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1616, allocations: 0 / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1616, allocations: 0 / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1616, allocations: 4 kB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1619, allocations: 219 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.162, allocations: 112.5 kB / 478.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.162, allocations: 3.938 kB / 478.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.1621, allocations: 11.98 kB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1622, allocations: 0 / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1622, allocations: 4 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005854/0.1628, allocations: 0.6511 MB / 478.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 478.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.163, allocations: 24 kB / 478.8 MB, free: 4.449 MB / 350.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.001392/0.1644, allocations: 1.061 MB / 479.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1647, allocations: 55.91 kB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1647, allocations: 4 kB / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1648, allocations: 27.97 kB / 479.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1652, allocations: 25.12 kB / 480 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.1687, allocations: 3.29 MB / 483.3 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1691, allocations: 0.8299 MB / 484.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.1692, allocations: 11.98 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1693, allocations: 107.4 kB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1693, allocations: 0 / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.1937, allocations: 5.891 MB / 490.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/7.86, allocations: 18.62 kB / 490.1 MB, free: 9.234 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches