Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001765/0.001765, 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.002381/0.002381, 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.568/1.568, allocations: 230.6 MB / 254.1 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.2351/0.2351, allocations: 46.92 MB / 357.1 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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1375, allocations: 65.98 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00347/0.141, allocations: 1.628 MB / 0.557 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1421, allocations: 0.5572 MB / 0.5575 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.1422, allocations: 0 / 0.5575 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1425, allocations: 111.7 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1428, allocations: 115.6 kB / 0.5578 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1431, allocations: 111.2 kB / 0.5579 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1433, allocations: 95.73 kB / 0.5579 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1434, allocations: 11.98 kB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.1435, allocations: 47.83 kB / 0.558 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1436, allocations: 71.8 kB / 0.5581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1436, allocations: 8 kB / 0.5581 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1438, allocations: 43.98 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1438, allocations: 27.91 kB / 0.5582 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.1439, allocations: 39.61 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1441, allocations: 119.4 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1441, allocations: 3.938 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1441, allocations: 0 / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1442, allocations: 0 / 0.5583 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006683/0.1448, allocations: 430.6 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1449, allocations: 16.03 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1449, allocations: 34.75 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.145, allocations: 8.891 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1452, allocations: 216.9 kB / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1452, allocations: 384 / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1452, allocations: 4.375 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1454, allocations: 57.61 kB / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1454, allocations: 3.953 kB / 0.559 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1454, allocations: 0 / 0.559 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1455, allocations: 0 / 0.559 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1456, allocations: 31.98 kB / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.146, allocations: 304.8 kB / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1462, allocations: 50.48 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.1462, allocations: 16.86 kB / 0.5594 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1462, allocations: 8.078 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1463, allocations: 30.56 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1463, allocations: 0 / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009892/0.1473, allocations: 249.2 kB / 0.5597 GB, free: 1.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1473, allocations: 59.34 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.1476, allocations: 254 kB / 0.56 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1476, allocations: 29.7 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.1477, allocations: 108.1 kB / 0.5601 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.1478, allocations: 31.73 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1478, allocations: 17.72 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.148, allocations: 334.8 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.1481, allocations: 27.98 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/0.1482, allocations: 31.97 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1483, allocations: 68.83 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1483, allocations: 0 / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00025/0.1486, allocations: 125.7 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1486, allocations: 9.875 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1486, allocations: 0 / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1486, allocations: 7.984 kB / 0.5608 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1487, allocations: 12 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1487, allocations: 3.938 kB / 0.5608 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1488, allocations: 7.984 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1488, allocations: 4 kB / 0.5608 GB, free: 68 kB / 414.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 (8): * Single equations (assignments): 8 * 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.000124/0.1489, allocations: 132 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.149, allocations: 19.84 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.1493, allocations: 143.4 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1493, allocations: 0 / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1493, allocations: 3.938 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1493, allocations: 7.984 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.1499, allocations: 423.2 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1499, allocations: 4 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.15, allocations: 23.95 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.15, allocations: 0 / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.15, allocations: 8 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.15, allocations: 0 / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.15, allocations: 0 / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1503, allocations: 216.2 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1503, allocations: 93 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1503, allocations: 4 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.1504, allocations: 3.984 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1505, allocations: 4 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1505, allocations: 8 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1506, allocations: 188.4 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1506, allocations: 0 / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1509, allocations: 27.92 kB / 0.562 GB, free: 14.67 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 (8): * Single equations (assignments): 8 * 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.002281/0.1532, allocations: 1.107 MB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1534, allocations: 71.95 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1534, allocations: 0 / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1535, allocations: 39.91 kB / 0.5632 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1539, allocations: 27.61 kB / 0.5633 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.1562, allocations: 1.807 MB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1565, allocations: 0.7119 MB / 0.5657 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.1566, allocations: 20.97 kB / 0.5657 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.1567, allocations: 43.41 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1567, allocations: 0 / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1801, allocations: 3.353 MB / 0.569 GB, free: 7.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.437, allocations: 3.75 kB / 0.5691 GB, free: 7.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.652787134051323]