Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001803/0.001803, allocations: 122.2 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002137/0.002137, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.91 MB / 355.8 MB, free: 12.36 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1381, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003671/0.1417, allocations: 2.038 MB / 0.5544 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1441, allocations: 1.263 MB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1442, allocations: 4 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.1444, allocations: 43.58 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.145, allocations: 211.1 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.146, allocations: 434.2 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.1465, allocations: 303 kB / 0.5566 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1467, allocations: 52.66 kB / 0.5567 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.147, allocations: 135.4 kB / 0.5568 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1473, allocations: 203.2 kB / 0.557 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.1473, allocations: 12 kB / 0.557 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1475, allocations: 67.98 kB / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1476, allocations: 147.4 kB / 0.5572 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1478, allocations: 178.6 kB / 0.5574 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.1484, allocations: 405.9 kB / 0.5578 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1484, allocations: 0 / 0.5578 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1484, allocations: 0 / 0.5578 GB, free: 4.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1484, allocations: 0 / 0.5578 GB, free: 4.676 MB / 414.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.001237/0.1497, allocations: 0.8199 MB / 0.5586 GB, free: 3.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1497, allocations: 8.031 kB / 0.5586 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.1497, allocations: 4.188 kB / 0.5586 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.1498, allocations: 46.73 kB / 0.5586 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.1501, allocations: 76.5 kB / 0.5587 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.1508, allocations: 476.2 kB / 0.5591 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1508, allocations: 12.12 kB / 0.5592 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1509, allocations: 23.92 kB / 0.5592 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.1512, allocations: 122.4 kB / 0.5593 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1512, allocations: 8 kB / 0.5593 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1513, allocations: 7.938 kB / 0.5593 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1513, allocations: 7.938 kB / 0.5593 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1515, allocations: 71.95 kB / 0.5594 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1525, allocations: 0.6917 MB / 0.5601 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1528, allocations: 101.2 kB / 0.5602 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1529, allocations: 45.7 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1529, allocations: 8 kB / 0.5602 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1529, allocations: 34.55 kB / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1529, allocations: 0 / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00152/0.1544, allocations: 0.5267 MB / 0.5608 GB, free: 1.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.1545, allocations: 85.11 kB / 0.5608 GB, free: 1.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1557, allocations: 0.922 MB / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1557, allocations: 29.7 kB / 0.5618 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1559, allocations: 268.3 kB / 0.562 GB, free: 60 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.156, allocations: 47.59 kB / 0.5621 GB, free: 12 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.1561, allocations: 33.78 kB / 0.5621 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1563, allocations: 382.7 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1565, allocations: 47.97 kB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.1566, allocations: 79.72 kB / 0.5626 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.157, allocations: 141.5 kB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.157, allocations: 224 / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005172/0.1575, allocations: 233.3 kB / 0.563 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1575, allocations: 11.88 kB / 0.563 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1575, allocations: 0 / 0.563 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1576, allocations: 4 kB / 0.563 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1578, allocations: 35.97 kB / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1578, allocations: 4 kB / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1579, allocations: 15.98 kB / 0.563 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1579, allocations: 4.75 kB / 0.563 GB, free: 15.01 MB / 430.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.0002235/0.1581, allocations: 215.8 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1583, allocations: 59.58 kB / 0.5633 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.1589, allocations: 274.4 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1589, allocations: 0 / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1589, allocations: 0 / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1589, allocations: 4 kB / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1601, allocations: 0.7946 MB / 0.5643 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1601, allocations: 0 / 0.5643 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1603, allocations: 35.97 kB / 0.5644 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1603, allocations: 0 / 0.5644 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1603, allocations: 7.938 kB / 0.5644 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1603, allocations: 3.938 kB / 0.5644 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1603, allocations: 0 / 0.5644 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.1609, allocations: 406.3 kB / 0.5648 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.1611, allocations: 156.6 kB / 0.5649 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.1611, allocations: 11.92 kB / 0.5649 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1613, allocations: 8 kB / 0.5649 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1614, allocations: 19.97 kB / 0.5649 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1614, allocations: 4 kB / 0.565 GB, free: 12.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008634/0.1623, allocations: 0.6786 MB / 0.5656 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1623, allocations: 0 / 0.5656 GB, free: 12.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1627, allocations: 55.94 kB / 0.5657 GB, free: 12.19 MB / 430.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.0025/0.1652, allocations: 1.246 MB / 0.5669 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.1656, allocations: 139.8 kB / 0.567 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1656, allocations: 3.938 kB / 0.567 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1658, allocations: 75.89 kB / 0.5671 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.1664, allocations: 74.19 kB / 0.5672 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/0.1734, allocations: 5.052 MB / 0.5721 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.1739, allocations: 0.8652 MB / 0.5729 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.1741, allocations: 91.19 kB / 0.573 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.1744, allocations: 171.4 kB / 0.5732 GB, free: 4.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1744, allocations: 0 / 0.5732 GB, free: 4.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.2035, allocations: 9.994 MB / 0.583 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.153/9.356, allocations: 16.81 kB / 0.583 GB, free: 10.56 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 13.04799790395191]