Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001287/0.001287, allocations: 121 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.001457/0.001457, allocations: 213.5 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.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.2369/0.2369, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.89 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1392, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003588/0.1428, allocations: 1.711 MB / 0.5578 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1439, allocations: 0.5611 MB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.144, allocations: 4 kB / 0.5583 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1442, allocations: 27.78 kB / 0.5583 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.1445, allocations: 83.61 kB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.1449, allocations: 131.1 kB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1451, allocations: 99.62 kB / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1452, allocations: 15.98 kB / 0.5587 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.1453, allocations: 39.8 kB / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.1454, allocations: 43.81 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1454, allocations: 8 kB / 0.5587 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1456, allocations: 107.9 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.1457, allocations: 23.86 kB / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1457, allocations: 39.73 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.146, allocations: 159.4 kB / 0.5591 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.146, allocations: 4 kB / 0.5591 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.146, allocations: 0 / 0.5591 GB, free: 2.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.146, allocations: 0 / 0.5591 GB, free: 2.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007712/0.1468, allocations: 458.5 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1469, allocations: 12.03 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.1469, allocations: 192 / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1469, allocations: 38.69 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.147, allocations: 12.89 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1472, allocations: 192.2 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1472, allocations: 12.36 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1473, allocations: 8.125 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1476, allocations: 83.38 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1476, allocations: 0 / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1476, allocations: 7.984 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1476, allocations: 0 / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.1479, allocations: 79.84 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1484, allocations: 312.7 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1487, allocations: 66.53 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1489, allocations: 52.88 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1489, allocations: 0 / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1489, allocations: 30.56 kB / 0.5604 GB, free: 1.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1489, allocations: 0 / 0.5604 GB, free: 1.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001767/0.1507, allocations: 389 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.1508, allocations: 81.11 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.151, allocations: 165.2 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.151, allocations: 25.7 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1511, allocations: 100.1 kB / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1512, allocations: 31.7 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1512, allocations: 25.7 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1514, allocations: 330.9 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.1517, allocations: 67.86 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.152, allocations: 93.73 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.1527, allocations: 140.7 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1527, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007035/0.1534, allocations: 193.5 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1534, allocations: 7.984 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1534, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1534, allocations: 4 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1537, allocations: 39.91 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1537, allocations: 4.312 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1538, allocations: 31.95 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1539, allocations: 0 / 0.562 GB, free: 15.48 MB / 430.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 (10): * Single equations (assignments): 10 * 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.0001159/0.154, allocations: 121.8 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.154, allocations: 15.91 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.1548, allocations: 210.4 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1548, allocations: 0 / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1548, allocations: 7.938 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1548, allocations: 96 / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1558, allocations: 0.4943 MB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1558, allocations: 3.938 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.156, allocations: 39.95 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.156, allocations: 0 / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.156, allocations: 4 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.156, allocations: 4 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.156, allocations: 3.938 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.1569, allocations: 279.3 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1569, allocations: 92.98 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.157, allocations: 4 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1572, allocations: 23.97 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1572, allocations: 19.92 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1572, allocations: 0 / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1574, allocations: 130.5 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1574, allocations: 0 / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.1577, allocations: 47.86 kB / 0.5635 GB, free: 13.9 MB / 430.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 (9): * Single equations (assignments): 9 * 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.002817/0.1605, allocations: 1.215 MB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.1612, allocations: 159.8 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1612, allocations: 0 / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.1616, allocations: 79.92 kB / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.162, allocations: 20.36 kB / 0.5649 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.1654, allocations: 1.863 MB / 0.5667 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1658, allocations: 0.7119 MB / 0.5674 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1659, allocations: 24.52 kB / 0.5674 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.166, allocations: 35.42 kB / 0.5675 GB, free: 9.852 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.166, allocations: 4 kB / 0.5675 GB, free: 9.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.1869, allocations: 4.337 MB / 0.5717 GB, free: 5.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.727, allocations: 4.062 kB / 0.5717 GB, free: 5.527 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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: 12.025204182020389]