Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2579/0.2579, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 75.88 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1245, allocations: 66.05 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00419/0.1287, allocations: 2.051 MB / 0.5582 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1308, allocations: 1.126 MB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.131, allocations: 7.938 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1316, allocations: 271 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.1322, allocations: 263.1 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1337, allocations: 0.6458 MB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.1343, allocations: 358.8 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1345, allocations: 64.7 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1347, allocations: 155.3 kB / 0.561 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.135, allocations: 231.2 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1351, allocations: 12 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1353, allocations: 79.92 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1354, allocations: 99.59 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1355, allocations: 138.9 kB / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.1361, allocations: 358.3 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1361, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1361, allocations: 4 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1361, allocations: 0 / 0.5618 GB, free: 15.68 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.001002/0.1371, allocations: 0.6996 MB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1371, allocations: 8.031 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.777e-05/0.1371, allocations: 12.17 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.1372, allocations: 46.67 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.1373, allocations: 48.66 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.1377, allocations: 346.4 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1377, allocations: 8.375 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1378, allocations: 16.36 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.138, allocations: 129.8 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.138, allocations: 7.953 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1381, allocations: 4 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1381, allocations: 4 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1383, allocations: 87.92 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.139, allocations: 0.5238 MB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1393, allocations: 102.5 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.1393, allocations: 40.83 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1394, allocations: 4 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1394, allocations: 34.56 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1394, allocations: 0 / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001118/0.1405, allocations: 452.6 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1406, allocations: 59.31 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.1413, allocations: 0.5995 MB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1413, allocations: 29.7 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1415, allocations: 224.3 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.1415, allocations: 59.44 kB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.1416, allocations: 33.7 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1418, allocations: 362.8 kB / 0.5657 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1419, allocations: 55.97 kB / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.142, allocations: 73.61 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1423, allocations: 162.8 kB / 0.5659 GB, free: 11.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1423, allocations: 0 / 0.5659 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004346/0.1428, allocations: 241.2 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1428, allocations: 7.938 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1428, allocations: 4 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1428, allocations: 0 / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.143, allocations: 35.92 kB / 0.5662 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.143, allocations: 0 / 0.5662 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.143, allocations: 15.98 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1431, allocations: 4 kB / 0.5662 GB, free: 10.95 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.0001804/0.1432, allocations: 181.7 kB / 0.5664 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.1433, allocations: 47.67 kB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.1439, allocations: 291.3 kB / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1439, allocations: 0 / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1439, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1439, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.1448, allocations: 0.6856 MB / 0.5674 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1448, allocations: 0 / 0.5674 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.1449, allocations: 39.97 kB / 0.5674 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1449, allocations: 0 / 0.5674 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.145, allocations: 4 kB / 0.5674 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.145, allocations: 0 / 0.5674 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.145, allocations: 3.938 kB / 0.5674 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.1454, allocations: 341.2 kB / 0.5678 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1455, allocations: 124.8 kB / 0.5679 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.1456, allocations: 4 kB / 0.5679 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1457, allocations: 4 kB / 0.5679 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.1457, allocations: 19.92 kB / 0.5679 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1457, allocations: 4 kB / 0.5679 GB, free: 9.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004932/0.1462, allocations: 454.8 kB / 0.5684 GB, free: 8.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 0.5684 GB, free: 8.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1465, allocations: 55.92 kB / 0.5684 GB, free: 8.605 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.003376/0.1499, allocations: 1.461 MB / 0.5698 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.1503, allocations: 159.8 kB / 0.57 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1503, allocations: 3.938 kB / 0.57 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1504, allocations: 87.89 kB / 0.5701 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.151, allocations: 80.59 kB / 0.5702 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.1556, allocations: 3.351 MB / 0.5734 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.1561, allocations: 0.8299 MB / 0.5742 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1563, allocations: 62.22 kB / 0.5743 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.1565, allocations: 135.4 kB / 0.5744 GB, free: 2.609 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1565, allocations: 0 / 0.5744 GB, free: 2.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.182, allocations: 7.952 MB / 0.5822 GB, free: 10.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.561, allocations: 10.25 kB / 0.5822 GB, free: 10.7 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 11.928813836013433]