Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001756/0.001756, allocations: 113 kB / 18.49 MB, free: 4.539 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.002277/0.002277, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.2847/0.2847, allocations: 46.92 MB / 357.8 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.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.4916 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1312, allocations: 65.98 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003858/0.135, allocations: 1.671 MB / 0.5577 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.137, allocations: 1.187 MB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1371, allocations: 0 / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1373, allocations: 23.86 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1376, allocations: 87.55 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.138, allocations: 139.5 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1381, allocations: 67.83 kB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1383, allocations: 12 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.1383, allocations: 43.77 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1385, allocations: 31.84 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1385, allocations: 4 kB / 0.5593 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1387, allocations: 99.94 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.1388, allocations: 27.84 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1388, allocations: 31.8 kB / 0.5594 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1391, allocations: 147.5 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1391, allocations: 0 / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1391, allocations: 0 / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1391, allocations: 0 / 0.5596 GB, free: 2.223 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.0006878/0.1398, allocations: 422.7 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1398, allocations: 12.03 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.346e-05/0.1399, allocations: 12.12 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.1399, allocations: 30.75 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1399, allocations: 8.891 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1402, allocations: 200.2 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1402, allocations: 384 / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1402, allocations: 12.08 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1404, allocations: 79.3 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1405, allocations: 0 / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1405, allocations: 8 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1405, allocations: 0 / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1406, allocations: 39.91 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1411, allocations: 288.8 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1412, allocations: 42.56 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.1413, allocations: 24.94 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1413, allocations: 4 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1413, allocations: 34.5 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1413, allocations: 0 / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008618/0.1422, allocations: 221.3 kB / 0.5609 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1423, allocations: 81.11 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1425, allocations: 151.8 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1425, allocations: 25.7 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1425, allocations: 100.1 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1426, allocations: 31.73 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1426, allocations: 21.72 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1428, allocations: 322.8 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1429, allocations: 27.97 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.143, allocations: 49.69 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1433, allocations: 76.84 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1433, allocations: 0 / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003201/0.1436, allocations: 109.8 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1436, allocations: 4 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1436, allocations: 80 / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1436, allocations: 0 / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1438, allocations: 27.97 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1438, allocations: 7.922 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.1439, allocations: 12 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1439, allocations: 7.984 kB / 0.5619 GB, free: 15.52 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 (7): * Single equations (assignments): 7 * 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.0001083/0.144, allocations: 120 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.144, allocations: 7.953 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.1444, allocations: 130.3 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1444, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1444, allocations: 3.938 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1444, allocations: 7.938 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.145, allocations: 390.5 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.145, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.1451, allocations: 31.92 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1451, allocations: 3.938 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1451, allocations: 0 / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1451, allocations: 4 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1451, allocations: 0 / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1455, allocations: 207.4 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1455, allocations: 85.06 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1455, allocations: 12.2 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1456, allocations: 8 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1457, allocations: 7.984 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1457, allocations: 0 / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1458, allocations: 120.4 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1458, allocations: 3.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.1461, allocations: 47.86 kB / 0.5631 GB, free: 14.25 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 (7): * Single equations (assignments): 7 * 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.002319/0.1484, allocations: 1.136 MB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.1488, allocations: 83.88 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1488, allocations: 0 / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1489, allocations: 39.97 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1492, allocations: 16.92 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.1516, allocations: 1.589 MB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.152, allocations: 0.6965 MB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.1521, allocations: 24.95 kB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.1522, allocations: 35.36 kB / 0.5666 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1522, allocations: 0 / 0.5666 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.1802, allocations: 3.558 MB / 0.5701 GB, free: 7.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.733, allocations: 27.23 kB / 0.5701 GB, free: 7.121 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 12.123983738012612]