Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001307/0.001307, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001269/0.001269, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.423/1.423, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2475/0.2475, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1294, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003084/0.1325, allocations: 1.659 MB / 0.5578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1335, allocations: 0.545 MB / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1336, allocations: 0 / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1339, allocations: 103.7 kB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1342, allocations: 107.6 kB / 0.5585 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1345, allocations: 97.5 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1347, allocations: 95.75 kB / 0.5587 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1348, allocations: 31.91 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.1349, allocations: 39.84 kB / 0.5588 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.135, allocations: 71.73 kB / 0.5589 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.135, allocations: 4 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1351, allocations: 47.98 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.1352, allocations: 23.91 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1352, allocations: 43.67 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1355, allocations: 127.4 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1355, allocations: 0 / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1355, allocations: 0 / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1355, allocations: 3.938 kB / 0.5591 GB, free: 2.527 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005706/0.136, allocations: 442.6 kB / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1361, allocations: 8.031 kB / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.411e-05/0.1361, allocations: 4.188 kB / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1361, allocations: 34.75 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1362, allocations: 16.84 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1364, allocations: 212 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1364, allocations: 4.375 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1364, allocations: 8.375 kB / 0.5598 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1366, allocations: 77.91 kB / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1366, allocations: 7.953 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1366, allocations: 7.984 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1366, allocations: 0 / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1367, allocations: 43.91 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1372, allocations: 332.7 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1373, allocations: 62.5 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.1374, allocations: 24.84 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1374, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1374, allocations: 34.56 kB / 0.5604 GB, free: 1.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1374, allocations: 3.938 kB / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001084/0.1385, allocations: 305.7 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1386, allocations: 59.34 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1388, allocations: 236 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1388, allocations: 25.7 kB / 0.561 GB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1389, allocations: 120 kB / 0.5611 GB, free: 288 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.139, allocations: 43.64 kB / 0.5611 GB, free: 244 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.139, allocations: 33.7 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1392, allocations: 322.8 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.1393, allocations: 35.98 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.1394, allocations: 35.98 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1396, allocations: 90.77 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1396, allocations: 4 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002801/0.1398, allocations: 141.6 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1399, allocations: 4 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1399, allocations: 112 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1399, allocations: 3.938 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.14, allocations: 31.92 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.14, allocations: 240 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1401, allocations: 7.984 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1401, allocations: 11.98 kB / 0.5618 GB, free: 15.51 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.000124/0.1402, allocations: 137.8 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1402, allocations: 15.91 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1406, allocations: 158.7 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1406, allocations: 7.938 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.1413, allocations: 487.1 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1413, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.1414, allocations: 23.98 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1414, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1414, allocations: 4 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1414, allocations: 0 / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1414, allocations: 4 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1417, allocations: 256.1 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1418, allocations: 93.02 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1418, allocations: 4 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.1419, allocations: 7.984 kB / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1419, allocations: 11.94 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1419, allocations: 8 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1421, allocations: 181.2 kB / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1421, allocations: 0 / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1424, allocations: 27.98 kB / 0.5632 GB, free: 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.00223/0.1446, allocations: 1.104 MB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1449, allocations: 103.8 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1449, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.145, allocations: 51.92 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1454, allocations: 22.3 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1477, allocations: 1.853 MB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1481, allocations: 0.7196 MB / 0.5669 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1481, allocations: 16.55 kB / 0.567 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.1482, allocations: 47.41 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1482, allocations: 3.938 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.1675, allocations: 3.583 MB / 0.5705 GB, free: 6.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.13, allocations: 4 kB / 0.5705 GB, free: 6.574 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.2702546310029]