Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.00134/0.00134, allocations: 111.8 kB / 17.33 MB, free: 6.02 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.001407/0.001407, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.404/1.404, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.242/0.242, allocations: 44.18 MB / 336.3 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 64.11 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1498, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003317/0.1531, allocations: 1.68 MB / 470.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1546, allocations: 1.043 MB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.1547, allocations: 3.938 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.155, allocations: 19.92 kB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1552, allocations: 31.91 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1556, allocations: 158.4 kB / 471.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1558, allocations: 75.75 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1559, allocations: 16 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.1559, allocations: 23.92 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1561, allocations: 35.78 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1561, allocations: 8 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1562, allocations: 51.97 kB / 472 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.1563, allocations: 23.91 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1563, allocations: 27.81 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1565, allocations: 99.97 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1566, allocations: 0 / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1566, allocations: 4 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1566, allocations: 0 / 472.1 MB, free: 11.35 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.0005108/0.1571, allocations: 399.2 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1572, allocations: 15.97 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.1572, allocations: 30.75 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1572, allocations: 12.78 kB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1574, allocations: 196.2 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1575, allocations: 384 / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1575, allocations: 8.359 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1577, allocations: 75.31 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1577, allocations: 4 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1577, allocations: 8 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1577, allocations: 0 / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1579, allocations: 39.91 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.1583, allocations: 312.7 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1585, allocations: 42.56 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.1585, allocations: 24.94 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1586, allocations: 4 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1586, allocations: 38.5 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1586, allocations: 0 / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007607/0.1594, allocations: 217.2 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1594, allocations: 85.11 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1596, allocations: 148 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1596, allocations: 25.7 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.1597, allocations: 96.08 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1597, allocations: 27.7 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1598, allocations: 21.66 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1599, allocations: 322.8 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.16, allocations: 35.97 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1601, allocations: 53.67 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1604, allocations: 92.89 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1604, allocations: 0 / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.1607, allocations: 125.5 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1607, allocations: 8 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1608, allocations: 0 / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1608, allocations: 4 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1609, allocations: 23.97 kB / 474.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1609, allocations: 3.938 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.161, allocations: 4 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.161, allocations: 4 kB / 474.6 MB, free: 8.645 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 (7): * Single equations (assignments): 7 * 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 9.429e-05/0.1611, allocations: 125.7 kB / 474.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1612, allocations: 7.906 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.1615, allocations: 146.6 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1615, allocations: 0 / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1615, allocations: 3.938 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1615, allocations: 4 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.1621, allocations: 414.4 kB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1621, allocations: 0 / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.1622, allocations: 23.92 kB / 475.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1622, allocations: 3.938 kB / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1622, allocations: 0 / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1622, allocations: 4 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1622, allocations: 0 / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1625, allocations: 223.4 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.1626, allocations: 77.11 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1626, allocations: 11.92 kB / 475.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.1627, allocations: 8 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1628, allocations: 7.984 kB / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1628, allocations: 0 / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.804e-05/0.1629, allocations: 119.2 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 7.938 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1632, allocations: 20 kB / 475.7 MB, free: 7.355 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 (7): * Single equations (assignments): 7 * 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.001578/0.1647, allocations: 1.093 MB / 476.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1651, allocations: 99.84 kB / 476.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1651, allocations: 4 kB / 476.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1652, allocations: 47.97 kB / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1656, allocations: 23.86 kB / 477 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1676, allocations: 1.609 MB / 478.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1679, allocations: 0.7002 MB / 479.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.168, allocations: 20.66 kB / 479.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.1681, allocations: 27.42 kB / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1681, allocations: 0 / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.1842, allocations: 2.931 MB / 482.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.1846, allocations: 241.8 kB / 482.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.03, allocations: 0 / 482.5 MB, free: 0.6836 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches