Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.00193/0.00193, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002936/0.002936, allocations: 216.9 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2516/0.2516, allocations: 44.28 MB / 330.4 MB, free: 9.285 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003687/0.003687, allocations: 75.89 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1415, allocations: 61.05 MB / 0.5162 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003203/0.1447, allocations: 1.615 MB / 0.5177 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.1453, allocations: 319.6 kB / 0.518 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.1454, allocations: 4 kB / 0.518 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.146, allocations: 447.1 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.1465, allocations: 247.5 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1468, allocations: 119.7 kB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.147, allocations: 155.7 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.1471, allocations: 12.19 kB / 0.519 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1473, allocations: 111.7 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.1476, allocations: 247.5 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1476, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.1477, allocations: 39.92 kB / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1478, allocations: 83.67 kB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1479, allocations: 67.25 kB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1482, allocations: 262.6 kB / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1482, allocations: 7.984 kB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1482, allocations: 0 / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1482, allocations: 0 / 0.5198 GB, free: 3.438 MB / 398.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.0007398/0.1489, allocations: 0.566 MB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.149, allocations: 12.03 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.149, allocations: 34.75 kB / 0.5204 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.1491, allocations: 44.64 kB / 0.5204 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1494, allocations: 242.7 kB / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1494, allocations: 4.375 kB / 0.5206 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1494, allocations: 8.125 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1495, allocations: 57.66 kB / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1496, allocations: 0 / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1496, allocations: 0 / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1496, allocations: 0 / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.1497, allocations: 27.98 kB / 0.5207 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.1502, allocations: 355.7 kB / 0.5211 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1504, allocations: 42.55 kB / 0.5211 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1504, allocations: 16.94 kB / 0.5211 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1504, allocations: 4 kB / 0.5211 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1505, allocations: 30.56 kB / 0.5212 GB, free: 1.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1505, allocations: 3.938 kB / 0.5212 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006385/0.1511, allocations: 232.6 kB / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1511, allocations: 55.41 kB / 0.5214 GB, free: 1.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.1521, allocations: 0.869 MB / 0.5223 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1521, allocations: 25.7 kB / 0.5223 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.1523, allocations: 228.1 kB / 0.5225 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1523, allocations: 7.906 kB / 0.5225 GB, free: 432 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1524, allocations: 17.72 kB / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1526, allocations: 362.8 kB / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.1526, allocations: 19.98 kB / 0.5229 GB, free: 16 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.1527, allocations: 20.05 kB / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1528, allocations: 44.78 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1528, allocations: 0 / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002252/0.1531, allocations: 121.6 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1531, allocations: 4 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1531, allocations: 0 / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1531, allocations: 0 / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.1532, allocations: 19.94 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.1532, allocations: 11.91 kB / 0.5231 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.1533, allocations: 7.938 kB / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1533, allocations: 4 kB / 0.5231 GB, free: 15.78 MB / 414.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.0002015/0.1535, allocations: 213.7 kB / 0.5233 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1535, allocations: 47.67 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1538, allocations: 129.2 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1538, allocations: 4 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1538, allocations: 7.938 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1538, allocations: 0 / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.1544, allocations: 425.6 kB / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1544, allocations: 0 / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.1545, allocations: 11.98 kB / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1545, allocations: 3.938 kB / 0.5239 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1545, allocations: 4 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1545, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1545, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.1548, allocations: 219.4 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.1549, allocations: 39.66 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1549, allocations: 12 kB / 0.5242 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.155, allocations: 7.984 kB / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.155, allocations: 0 / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.155, allocations: 4 kB / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007401/0.1558, allocations: 0.6511 MB / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1558, allocations: 0 / 0.5249 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.156, allocations: 20 kB / 0.5249 GB, free: 13.92 MB / 414.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.00222/0.1583, allocations: 1.081 MB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1585, allocations: 51.95 kB / 0.526 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1585, allocations: 0 / 0.526 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.1586, allocations: 23.92 kB / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.159, allocations: 17.97 kB / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.1631, allocations: 3.203 MB / 0.5292 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1633, allocations: 220.1 kB / 0.5294 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.1634, allocations: 4 kB / 0.5294 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.1635, allocations: 99.39 kB / 0.5295 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1635, allocations: 8 kB / 0.5295 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.1994, allocations: 6.509 MB / 0.5358 GB, free: 2.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.57, allocations: 11.95 kB / 0.5358 GB, free: 2.488 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 15.068859360180795]