Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001628/0.001628, allocations: 108.2 kB / 18.49 MB, free: 4.602 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.002329/0.002329, allocations: 215 kB / 21.45 MB, free: 1.652 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.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2412/0.2412, allocations: 46.93 MB / 357.8 MB, free: 10.4 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 0.4917 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 65.98 MB / 0.5561 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003311/0.1353, allocations: 1.669 MB / 0.5577 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1364, allocations: 0.5572 MB / 0.5583 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.1365, allocations: 4 kB / 0.5583 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1368, allocations: 87.73 kB / 0.5583 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1372, allocations: 115.6 kB / 0.5585 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1375, allocations: 123.5 kB / 0.5586 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1377, allocations: 95.75 kB / 0.5587 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1379, allocations: 27.97 kB / 0.5587 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.1379, allocations: 43.84 kB / 0.5587 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1381, allocations: 75.73 kB / 0.5588 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1381, allocations: 4 kB / 0.5588 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1382, allocations: 47.98 kB / 0.5589 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1383, allocations: 35.83 kB / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.1383, allocations: 35.69 kB / 0.5589 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1386, allocations: 131.4 kB / 0.5591 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1386, allocations: 4 kB / 0.5591 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1386, allocations: 3.938 kB / 0.5591 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1386, allocations: 0 / 0.5591 GB, free: 2.844 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006668/0.1392, allocations: 442.6 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1393, allocations: 8.031 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.383e-05/0.1393, allocations: 8.125 kB / 0.5595 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1394, allocations: 38.73 kB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1394, allocations: 16.84 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1398, allocations: 204.1 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1398, allocations: 8.375 kB / 0.5598 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1398, allocations: 8.125 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.14, allocations: 69.66 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.14, allocations: 11.95 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.14, allocations: 4 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.14, allocations: 0 / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1401, allocations: 47.89 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1407, allocations: 344.7 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1408, allocations: 66.48 kB / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.1409, allocations: 25.02 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1409, allocations: 7.969 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1409, allocations: 34.56 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1409, allocations: 0 / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001149/0.1421, allocations: 341.4 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1421, allocations: 51.41 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1424, allocations: 243.4 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1424, allocations: 25.7 kB / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1425, allocations: 112.1 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1426, allocations: 47.62 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.1427, allocations: 29.7 kB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1429, allocations: 326.8 kB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.143, allocations: 43.97 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1431, allocations: 47.98 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1434, allocations: 104.6 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1434, allocations: 0 / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003083/0.1437, allocations: 161.7 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1438, allocations: 11.92 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1438, allocations: 0 / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1438, allocations: 0 / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1439, allocations: 31.92 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1439, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.144, allocations: 8 kB / 0.5619 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.144, allocations: 4 kB / 0.5619 GB, free: 15.73 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 (13): * Single equations (assignments): 13 * 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.0001226/0.1441, allocations: 136 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.1442, allocations: 23.78 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.1446, allocations: 198.9 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1446, allocations: 3.984 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1446, allocations: 0 / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.1453, allocations: 0.4914 MB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1453, allocations: 4 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.1454, allocations: 27.92 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1454, allocations: 0 / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1454, allocations: 11.98 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1454, allocations: 0 / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1454, allocations: 0 / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1458, allocations: 260.2 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.1459, allocations: 89.02 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1459, allocations: 4 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.146, allocations: 7.984 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.146, allocations: 7.984 kB / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.146, allocations: 11.94 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1462, allocations: 177.2 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1462, allocations: 7.938 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1464, allocations: 31.88 kB / 0.5633 GB, free: 14.14 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 (13): * Single equations (assignments): 13 * 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.00227/0.1487, allocations: 1.126 MB / 0.5644 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.149, allocations: 118 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.149, allocations: 0 / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1491, allocations: 59.91 kB / 0.5646 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1496, allocations: 36.48 kB / 0.5646 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.1519, allocations: 1.912 MB / 0.5665 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1523, allocations: 0.7275 MB / 0.5672 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.1524, allocations: 20.55 kB / 0.5672 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1525, allocations: 47.41 kB / 0.5672 GB, free: 10.15 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1525, allocations: 0 / 0.5672 GB, free: 10.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1723, allocations: 3.691 MB / 0.5709 GB, free: 6.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/8.64, allocations: 3.969 kB / 0.5709 GB, free: 6.516 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.943805825023446]