Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.87/0.87, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.436e-05, allocations: 2.844 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002359/0.002383, allocations: 1.613 MB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1534/0.1558, allocations: 0.518 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1559, allocations: 2.781 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1562, allocations: 452.1 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1565, allocations: 295.1 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1567, allocations: 139.4 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1569, allocations: 169.8 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.157, allocations: 6.875 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.656e-05/0.1571, allocations: 122.2 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1572, allocations: 243.6 kB / 445.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1573, allocations: 2.844 kB / 445.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.1573, allocations: 25.55 kB / 445.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.1574, allocations: 80.75 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1574, allocations: 42.59 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1576, allocations: 227.1 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1576, allocations: 8.953 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1576, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1576, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004345/0.1581, allocations: 0.5876 MB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1581, allocations: 10.38 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.327e-05/0.1581, allocations: 37.44 kB / 446.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1582, allocations: 46.77 kB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1583, allocations: 243 kB / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1583, allocations: 3.969 kB / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.1583, allocations: 0.9375 kB / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1584, allocations: 61.34 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1585, allocations: 192 / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1585, allocations: 3.938 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1585, allocations: 0 / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.1585, allocations: 37.2 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.1588, allocations: 342.9 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.1589, allocations: 43.08 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.1589, allocations: 23.78 kB / 447.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1589, allocations: 2.719 kB / 447.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.159, allocations: 30.56 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.159, allocations: 2.344 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002199/0.1592, allocations: 123.8 kB / 447.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1592, allocations: 51.41 kB / 447.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.1597, allocations: 0.8696 MB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1597, allocations: 29.7 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.1597, allocations: 222 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1598, allocations: 3.953 kB / 448.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1598, allocations: 15.38 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.1598, allocations: 364.5 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1599, allocations: 11.53 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.1599, allocations: 15.89 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.16, allocations: 39.83 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.16, allocations: 7.938 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001031/0.1601, allocations: 107.6 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1601, allocations: 5.594 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1601, allocations: 3.234 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1601, allocations: 3.938 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1602, allocations: 8.469 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1602, allocations: 0 / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.1602, allocations: 6.016 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1602, allocations: 6.844 kB / 449.4 MB, free: 41.12 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.551e-05/0.1603, allocations: 216.5 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1603, allocations: 50.36 kB / 449.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1605, allocations: 120.5 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1605, allocations: 0 / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1605, allocations: 1.781 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1605, allocations: 2.75 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1606, allocations: 263 kB / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1606, allocations: 0 / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.1607, allocations: 13.08 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1607, allocations: 1.312 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1607, allocations: 2.875 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1607, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1607, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1608, allocations: 205.9 kB / 450.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.1608, allocations: 39 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1608, allocations: 0 / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.1609, allocations: 8.953 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.1609, allocations: 4 kB / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1609, allocations: 0 / 450.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.1612, allocations: 0.6589 MB / 451 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1612, allocations: 0 / 451 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.1614, allocations: 16.62 kB / 451 MB, free: 40.24 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.0007473/0.1621, allocations: 1.015 MB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1622, allocations: 40.64 kB / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1622, allocations: 0 / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.1622, allocations: 19.69 kB / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1626, allocations: 25.27 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1646, allocations: 3.192 MB / 455.3 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.1647, allocations: 216.9 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.1647, allocations: 11.7 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.1648, allocations: 108.5 kB / 455.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1648, allocations: 4 kB / 455.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.1833, allocations: 6.423 MB / 462.1 MB, free: 35.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/6.782, allocations: 16.67 kB / 462.1 MB, free: 35.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.700334020890296]