Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.001534/0.001534, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001806/0.001806, allocations: 209.3 kB / 22.99 MB, free: 4.602 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.531/1.531, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2849/0.2849, allocations: 44.24 MB / 330.3 MB, free: 9.328 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.003384/0.003384, allocations: 75.91 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1312, allocations: 61.04 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003855/0.1351, allocations: 1.619 MB / 0.5177 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.1359, allocations: 327.6 kB / 0.5181 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.1359, allocations: 0 / 0.5181 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.1367, allocations: 447.2 kB / 0.5185 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.1371, allocations: 259.4 kB / 0.5187 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1374, allocations: 115.7 kB / 0.5188 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1377, allocations: 159.7 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1378, allocations: 12.19 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1379, allocations: 115.6 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1382, allocations: 239.6 kB / 0.5193 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1382, allocations: 8 kB / 0.5194 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.1383, allocations: 35.98 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1384, allocations: 91.61 kB / 0.5195 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.1385, allocations: 71.19 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.1389, allocations: 262.6 kB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1389, allocations: 0 / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1389, allocations: 0 / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1389, 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.0008498/0.1397, allocations: 0.5777 MB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1398, allocations: 8.031 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1398, allocations: 34.75 kB / 0.5204 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.1399, allocations: 48.61 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1402, allocations: 250.8 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.1402, allocations: 384 / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1403, allocations: 8.125 kB / 0.5207 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1404, allocations: 53.67 kB / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1405, allocations: 0 / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1405, allocations: 4 kB / 0.5207 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1405, allocations: 0 / 0.5207 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1406, allocations: 35.97 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.1411, allocations: 363.7 kB / 0.5211 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1413, allocations: 42.5 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.1413, allocations: 20.94 kB / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1413, allocations: 0 / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1414, allocations: 34.56 kB / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1414, allocations: 0 / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008346/0.1422, allocations: 300.6 kB / 0.5215 GB, free: 1.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1422, allocations: 51.41 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.1432, allocations: 0.8613 MB / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1432, allocations: 25.7 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1434, allocations: 212.1 kB / 0.5226 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1434, allocations: 27.75 kB / 0.5226 GB, free: 340 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1435, allocations: 21.7 kB / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1437, allocations: 362.8 kB / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1438, allocations: 27.97 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1439, allocations: 39.91 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1441, allocations: 72.75 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1441, allocations: 4 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003076/0.1444, allocations: 145.4 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1445, allocations: 4 kB / 0.5233 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1445, allocations: 320 / 0.5233 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1445, allocations: 4 kB / 0.5233 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1446, allocations: 19.98 kB / 0.5233 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1446, allocations: 7.875 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.1447, allocations: 15.98 kB / 0.5233 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1447, allocations: 3.984 kB / 0.5233 GB, free: 15.59 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 (7): * Single equations (assignments): 7 * 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.0002105/0.1449, allocations: 213.8 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.145, allocations: 43.72 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.1453, allocations: 165.4 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1453, allocations: 288 / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1454, allocations: 3.938 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.1454, allocations: 11.97 kB / 0.5238 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.146, allocations: 457.5 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1461, allocations: 3.984 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.1461, allocations: 19.98 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1461, allocations: 7.875 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1461, allocations: 0 / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1462, allocations: 0 / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1462, allocations: 8 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.1465, allocations: 243.1 kB / 0.5245 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1466, allocations: 31.72 kB / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1466, allocations: 15.92 kB / 0.5245 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1467, allocations: 4 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1468, allocations: 7.984 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1468, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.1475, allocations: 0.655 MB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1475, allocations: 0 / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1478, allocations: 27.94 kB / 0.5252 GB, free: 13.62 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 (7): * Single equations (assignments): 7 * 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.002204/0.15, allocations: 1.109 MB / 0.5263 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1503, allocations: 75.94 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1503, allocations: 4 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1504, allocations: 43.84 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1508, allocations: 21.95 kB / 0.5264 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1549, allocations: 3.273 MB / 0.5296 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1552, allocations: 212.2 kB / 0.5298 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.1552, allocations: 16.64 kB / 0.5298 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.1554, allocations: 107.4 kB / 0.5299 GB, free: 8.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1554, allocations: 0 / 0.5299 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.1928, allocations: 6.641 MB / 0.5364 GB, free: 1.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.72, allocations: 7.938 kB / 0.5364 GB, free: 1.914 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 15.066331037785858]