Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001583/0.001583, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001828/0.001828, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2253/0.2253, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 72.11 kB / 0.4913 GB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1368, allocations: 65.99 MB / 0.5557 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003238/0.1401, allocations: 1.681 MB / 0.5574 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1412, allocations: 0.5839 MB / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.1413, allocations: 7.938 kB / 0.5579 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.1419, allocations: 455.1 kB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.1425, allocations: 291.3 kB / 0.5587 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.143, allocations: 186.4 kB / 0.5588 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.1434, allocations: 171.8 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1435, allocations: 16.22 kB / 0.559 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1436, allocations: 115.7 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1439, allocations: 251.5 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.144, allocations: 7.938 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1441, allocations: 47.98 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1442, allocations: 91.69 kB / 0.5595 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1443, allocations: 111 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.1448, allocations: 290.4 kB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1448, allocations: 0 / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1448, allocations: 0 / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1448, allocations: 0 / 0.5599 GB, free: 1.879 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008911/0.1457, allocations: 0.6723 MB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1457, allocations: 8.031 kB / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.1458, allocations: 34.75 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.1458, allocations: 48.66 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1462, allocations: 308.6 kB / 0.5609 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1462, allocations: 4.375 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1462, allocations: 8.359 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1464, allocations: 66.17 kB / 0.561 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1464, allocations: 3.938 kB / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1464, allocations: 0 / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1464, allocations: 0 / 0.561 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1465, allocations: 35.97 kB / 0.561 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.1471, allocations: 412.6 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1472, allocations: 42.56 kB / 0.5615 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1473, allocations: 20.94 kB / 0.5615 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1473, allocations: 4 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1474, allocations: 38.59 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1474, allocations: 0 / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009909/0.1483, allocations: 328.5 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1484, allocations: 55.34 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.1493, allocations: 0.8854 MB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1494, allocations: 25.7 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1496, allocations: 224.1 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1496, allocations: 35.73 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1497, allocations: 21.72 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1498, allocations: 362.8 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.1499, allocations: 27.98 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.15, allocations: 35.97 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1502, allocations: 73.06 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1502, allocations: 0 / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002781/0.1505, allocations: 157.2 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1505, allocations: 4 kB / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1505, allocations: 3.938 kB / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1505, allocations: 0 / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1506, allocations: 23.98 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1506, allocations: 4 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1507, allocations: 7.938 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1507, allocations: 4 kB / 0.5637 GB, free: 13.7 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 (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.0002097/0.1509, allocations: 217.8 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.1509, allocations: 43.72 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.1513, allocations: 181.5 kB / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1513, allocations: 0 / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1513, allocations: 0 / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1513, allocations: 7.938 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.152, allocations: 0.5148 MB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.152, allocations: 0 / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.1521, allocations: 23.98 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1521, allocations: 8.391 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1521, allocations: 0 / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1521, allocations: 7.938 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1521, allocations: 0 / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1525, allocations: 244.1 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1526, allocations: 120.7 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1526, allocations: 12 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.1527, allocations: 7.984 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1527, allocations: 0 / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1527, allocations: 4 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.1534, allocations: 0.6589 MB / 0.5657 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1534, allocations: 4 kB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1537, allocations: 31.92 kB / 0.5657 GB, free: 11.51 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.002237/0.1559, allocations: 1.144 MB / 0.5669 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.1562, allocations: 79.88 kB / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1562, allocations: 0 / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/0.1563, allocations: 39.97 kB / 0.567 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1567, allocations: 26.3 kB / 0.567 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.1613, allocations: 3.392 MB / 0.5703 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.1619, allocations: 0.8299 MB / 0.5711 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.794e-05/0.162, allocations: 32.7 kB / 0.5712 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1621, allocations: 119.4 kB / 0.5713 GB, free: 5.887 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1621, allocations: 112 / 0.5713 GB, free: 5.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.1938, allocations: 6.495 MB / 0.5776 GB, free: 15.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/8.879, allocations: 11.81 kB / 0.5776 GB, free: 15.42 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.936220623087138]