Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001281/0.001281, allocations: 118.7 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.001306/0.001306, allocations: 212.7 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.421/1.421, 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.2257/0.2257, allocations: 46.9 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 75.88 kB / 0.4917 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 66.04 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002964/0.137, allocations: 1.652 MB / 0.5578 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1379, allocations: 0.5683 MB / 0.5583 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.138, allocations: 0 / 0.5583 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.1385, allocations: 443.2 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.139, allocations: 299.3 kB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1393, allocations: 125.6 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1395, allocations: 171.6 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.1396, allocations: 11.98 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1397, allocations: 115.7 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.14, allocations: 247.5 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.14, allocations: 4 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.1401, allocations: 35.92 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1402, allocations: 83.69 kB / 0.5598 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.1403, allocations: 107 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1406, allocations: 266.6 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1406, allocations: 4 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1406, allocations: 0 / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1406, allocations: 0 / 0.5602 GB, free: 1.387 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.0007552/0.1414, allocations: 0.6568 MB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1414, allocations: 8.031 kB / 0.5608 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.1414, allocations: 192 / 0.5608 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1415, allocations: 38.75 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.1415, allocations: 52.59 kB / 0.5609 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1418, allocations: 304.6 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1418, allocations: 8.359 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1418, allocations: 4.375 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.142, allocations: 57.98 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.142, allocations: 0 / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.142, allocations: 0 / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.142, allocations: 0 / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.1421, allocations: 27.97 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1426, allocations: 400.6 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1428, allocations: 42.55 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1428, allocations: 8.859 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1428, allocations: 11.94 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1429, allocations: 34.5 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1429, allocations: 0 / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005963/0.1435, allocations: 236.8 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1435, allocations: 55.34 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.1444, allocations: 0.8738 MB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1444, allocations: 25.7 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1446, allocations: 224.1 kB / 0.5631 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1446, allocations: 15.83 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1447, allocations: 21.72 kB / 0.5632 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1449, allocations: 366.7 kB / 0.5635 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.1449, allocations: 19.98 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.145, allocations: 19.98 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1451, allocations: 44.83 kB / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1451, allocations: 0 / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002157/0.1453, allocations: 125.6 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1454, allocations: 4 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1454, allocations: 3.938 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1454, allocations: 0 / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1454, allocations: 15.98 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1454, allocations: 0 / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.1455, allocations: 8.234 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1455, allocations: 3.938 kB / 0.5638 GB, free: 13.47 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 (5): * Single equations (assignments): 5 * 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.0002044/0.1457, allocations: 217.8 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1458, allocations: 47.72 kB / 0.564 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1461, allocations: 129.2 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1461, allocations: 4 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1461, allocations: 3.938 kB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1461, allocations: 0 / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.1467, allocations: 466.5 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1467, allocations: 3.984 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.1467, allocations: 12 kB / 0.5646 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1467, allocations: 0 / 0.5646 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1468, allocations: 0 / 0.5646 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1468, allocations: 3.938 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1468, allocations: 0 / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1471, allocations: 227.2 kB / 0.5648 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1472, allocations: 120.8 kB / 0.5649 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1472, allocations: 3.938 kB / 0.5649 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1473, allocations: 7.938 kB / 0.565 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1473, allocations: 0 / 0.565 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1473, allocations: 7.984 kB / 0.565 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006918/0.148, allocations: 0.6589 MB / 0.5656 GB, free: 11.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.148, allocations: 0 / 0.5656 GB, free: 11.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1483, allocations: 23.98 kB / 0.5656 GB, free: 11.45 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 (5): * Single equations (assignments): 5 * 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.001963/0.1502, allocations: 1.041 MB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1504, allocations: 47.97 kB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1504, allocations: 0 / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.1505, allocations: 27.91 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.1509, allocations: 30.19 kB / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.1548, allocations: 3.244 MB / 0.5699 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.1553, allocations: 0.826 MB / 0.5707 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.1554, allocations: 12.22 kB / 0.5707 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1555, allocations: 107.4 kB / 0.5708 GB, free: 6.113 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1555, allocations: 0 / 0.5708 GB, free: 6.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1774, allocations: 6.128 MB / 0.5768 GB, free: 40 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.593, allocations: 4.625 kB / 0.5768 GB, free: 36 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.65816133102635]