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.001311/0.001311, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001426/0.001426, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2423/0.2423, allocations: 46.93 MB / 357.1 MB, free: 10.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 0.491 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1405, allocations: 66 MB / 0.5554 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003249/0.1437, allocations: 1.708 MB / 0.5571 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1448, allocations: 0.5688 MB / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.1449, allocations: 0 / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.1451, allocations: 19.8 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.1454, allocations: 83.61 kB / 0.5577 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1457, allocations: 143.1 kB / 0.5579 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1459, allocations: 91.69 kB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.146, allocations: 11.98 kB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.146, allocations: 39.84 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.1461, allocations: 47.77 kB / 0.558 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1461, allocations: 8 kB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1463, allocations: 103.9 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.1464, allocations: 23.91 kB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1464, allocations: 39.72 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1467, allocations: 163.4 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1467, allocations: 11.94 kB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1467, allocations: 0 / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1467, allocations: 0 / 0.5584 GB, free: 2.727 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.0007065/0.1474, allocations: 446.5 kB / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1475, allocations: 16.02 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1475, allocations: 38.69 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1476, allocations: 8.891 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1478, allocations: 200.2 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1478, allocations: 4.375 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1478, allocations: 4.375 kB / 0.5591 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.1481, allocations: 95.3 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1481, allocations: 0 / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1481, allocations: 0 / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1482, allocations: 0 / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.1485, allocations: 71.92 kB / 0.5592 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.149, allocations: 320.6 kB / 0.5595 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1492, allocations: 70.53 kB / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1494, allocations: 44.94 kB / 0.5596 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1494, allocations: 0 / 0.5596 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1494, allocations: 34.56 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1494, allocations: 3.938 kB / 0.5597 GB, free: 1.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001729/0.1512, allocations: 381 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.1513, allocations: 77.11 kB / 0.5601 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1515, allocations: 173.2 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1515, allocations: 29.7 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1516, allocations: 92.14 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1516, allocations: 35.69 kB / 0.5604 GB, free: 412 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1517, allocations: 29.72 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1519, allocations: 318.8 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1522, allocations: 71.92 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1525, allocations: 93.56 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.1531, allocations: 148.9 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1531, allocations: 4.031 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006729/0.1538, allocations: 189.4 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1538, allocations: 4 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1538, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1538, allocations: 4 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1541, allocations: 39.95 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1541, allocations: 3.938 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.1542, allocations: 23.95 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1543, allocations: 8.312 kB / 0.5613 GB, free: 15.45 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.0001201/0.1544, allocations: 125.8 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.1544, allocations: 15.91 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/0.1552, allocations: 198.2 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1552, allocations: 0 / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1552, allocations: 15.88 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1552, allocations: 0 / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1562, allocations: 0.4906 MB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1562, allocations: 0 / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1564, allocations: 44.19 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1564, allocations: 0 / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1564, allocations: 3.984 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1564, allocations: 3.938 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1564, allocations: 3.984 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.1571, allocations: 287.2 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1572, allocations: 96.98 kB / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1572, allocations: 0 / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1574, allocations: 27.97 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1575, allocations: 11.98 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1575, allocations: 0 / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1576, allocations: 126.5 kB / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1576, allocations: 0 / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1579, allocations: 51.86 kB / 0.5628 GB, free: 13.87 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.002826/0.1608, allocations: 1.221 MB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.1615, allocations: 155.8 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1615, allocations: 0 / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.1618, allocations: 83.91 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1622, allocations: 16 kB / 0.5642 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.1655, allocations: 1.864 MB / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1659, allocations: 0.7041 MB / 0.5667 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.1659, allocations: 12.55 kB / 0.5667 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.166, allocations: 51.34 kB / 0.5668 GB, free: 9.816 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.166, allocations: 0 / 0.5668 GB, free: 9.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.1926, allocations: 4.298 MB / 0.571 GB, free: 5.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.545, allocations: 14.02 kB / 0.571 GB, free: 5.523 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: 11.654812305001542]