Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001639/0.001639, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002168/0.002168, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.484/1.484, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.234/0.234, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 75.89 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1261, allocations: 66 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003894/0.13, allocations: 2.051 MB / 0.5574 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1321, allocations: 1.13 MB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1323, allocations: 3.938 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.1329, allocations: 267.1 kB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.1335, allocations: 263.1 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1351, allocations: 0.6494 MB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.1356, allocations: 366.7 kB / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1358, allocations: 60.72 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.136, allocations: 155.4 kB / 0.5602 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1364, allocations: 231.1 kB / 0.5604 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.1364, allocations: 12 kB / 0.5604 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1366, allocations: 79.97 kB / 0.5605 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1368, allocations: 95.61 kB / 0.5606 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1369, allocations: 146.8 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1375, allocations: 358.2 kB / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1375, allocations: 0 / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1375, allocations: 0 / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1375, allocations: 0 / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001026/0.1385, allocations: 0.6956 MB / 0.5618 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.1386, allocations: 12.03 kB / 0.5618 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.1387, allocations: 46.73 kB / 0.5618 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1388, allocations: 44.66 kB / 0.5619 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.1393, allocations: 354.4 kB / 0.5622 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1393, allocations: 12.31 kB / 0.5622 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1393, allocations: 12.38 kB / 0.5622 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.1397, allocations: 131.7 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1397, allocations: 3.953 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1397, allocations: 4 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1397, allocations: 4 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.14, allocations: 91.92 kB / 0.5624 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.1409, allocations: 0.516 MB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1412, allocations: 114.4 kB / 0.5631 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1413, allocations: 36.84 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1413, allocations: 4 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1413, allocations: 38.48 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1413, allocations: 4 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001212/0.1426, allocations: 448.7 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1426, allocations: 59.3 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.1435, allocations: 0.6034 MB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1435, allocations: 25.7 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.1437, allocations: 216.4 kB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.1438, allocations: 71.42 kB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.1439, allocations: 29.72 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1441, allocations: 358.8 kB / 0.5649 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1443, allocations: 63.95 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1444, allocations: 71.95 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1447, allocations: 154.8 kB / 0.5652 GB, free: 11.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1447, allocations: 4 kB / 0.5652 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004483/0.1452, allocations: 239.7 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1452, allocations: 7.938 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1452, allocations: 0 / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1452, allocations: 0 / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1454, allocations: 35.92 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1454, allocations: 3.984 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.1455, allocations: 12 kB / 0.5654 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1455, allocations: 8 kB / 0.5654 GB, free: 11.28 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 (17): * Single equations (assignments): 17 * 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.0001896/0.1457, allocations: 185.7 kB / 0.5656 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.1458, allocations: 47.67 kB / 0.5657 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.1463, allocations: 277.7 kB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1463, allocations: 4 kB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1463, allocations: 0 / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1463, allocations: 0 / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1474, allocations: 0.6973 MB / 0.5666 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1474, allocations: 0 / 0.5666 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1475, allocations: 35.92 kB / 0.5667 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.1475, allocations: 7.984 kB / 0.5667 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1475, allocations: 0 / 0.5667 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1475, allocations: 3.938 kB / 0.5667 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1475, allocations: 0 / 0.5667 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.1481, allocations: 341 kB / 0.567 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1482, allocations: 120.8 kB / 0.5671 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1483, allocations: 4 kB / 0.5671 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1484, allocations: 15.92 kB / 0.5671 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1484, allocations: 15.92 kB / 0.5671 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1484, allocations: 4 kB / 0.5671 GB, free: 9.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005802/0.149, allocations: 450.8 kB / 0.5676 GB, free: 8.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.149, allocations: 8 kB / 0.5676 GB, free: 8.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.1494, allocations: 43.94 kB / 0.5676 GB, free: 8.934 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 (17): * Single equations (assignments): 17 * 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.003607/0.153, allocations: 1.47 MB / 0.5691 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.1534, allocations: 163.8 kB / 0.5692 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1534, allocations: 3.938 kB / 0.5692 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.1536, allocations: 87.88 kB / 0.5693 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.1542, allocations: 84.23 kB / 0.5694 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.1592, allocations: 3.344 MB / 0.5726 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.1598, allocations: 0.8338 MB / 0.5735 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.16, allocations: 62.25 kB / 0.5735 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.1602, allocations: 131.4 kB / 0.5736 GB, free: 2.945 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1602, allocations: 4 kB / 0.5737 GB, free: 2.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.1932, allocations: 7.922 MB / 0.5814 GB, free: 11.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/8.932, allocations: 16.59 kB / 0.5814 GB, free: 11.03 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.33185518020764]