Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001306/0.001306, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001386/0.001386, allocations: 225.3 kB / 23.01 MB, free: 5.039 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.465/1.465, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2161/0.2161, allocations: 44.24 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.002192/0.002192, allocations: 74.55 kB / 467.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.004434/0.1326, allocations: 1.637 MB / 0.5178 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.1334, allocations: 339.5 kB / 0.5181 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.1334, allocations: 0 / 0.5181 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.1341, allocations: 447.2 kB / 0.5185 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.1345, allocations: 255.5 kB / 0.5187 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1349, allocations: 111.7 kB / 0.5189 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1351, allocations: 159.7 kB / 0.519 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1352, allocations: 12.19 kB / 0.519 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1354, allocations: 115.7 kB / 0.5191 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.1358, allocations: 239.5 kB / 0.5194 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1358, allocations: 4 kB / 0.5194 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1359, allocations: 31.98 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.136, allocations: 79.69 kB / 0.5195 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1362, allocations: 107 kB / 0.5196 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1366, allocations: 262.6 kB / 0.5198 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1366, allocations: 4 kB / 0.5198 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1366, allocations: 3.938 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1366, allocations: 0 / 0.5198 GB, free: 3.543 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.0009668/0.1376, allocations: 0.5699 MB / 0.5204 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1376, allocations: 12.03 kB / 0.5204 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1376, allocations: 30.75 kB / 0.5204 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.1377, allocations: 44.66 kB / 0.5205 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1381, allocations: 250.7 kB / 0.5207 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.1381, allocations: 8.312 kB / 0.5207 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1381, allocations: 8.125 kB / 0.5207 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1383, allocations: 53.67 kB / 0.5208 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1383, allocations: 0 / 0.5208 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1383, allocations: 0 / 0.5208 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1383, allocations: 4 kB / 0.5208 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.1384, allocations: 19.98 kB / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1389, allocations: 359.7 kB / 0.5211 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1391, allocations: 46.56 kB / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.1391, allocations: 12.94 kB / 0.5212 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1392, allocations: 4 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1392, allocations: 30.56 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1392, allocations: 0 / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006221/0.1398, allocations: 236.6 kB / 0.5215 GB, free: 1.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1399, allocations: 55.41 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.1408, allocations: 0.8652 MB / 0.5224 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1408, allocations: 25.7 kB / 0.5224 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.141, allocations: 220.1 kB / 0.5226 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.141, allocations: 15.89 kB / 0.5226 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.141, allocations: 13.72 kB / 0.5226 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1412, allocations: 362.8 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.1413, allocations: 23.92 kB / 0.523 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.1413, allocations: 19.98 kB / 0.523 GB, free: 100 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1415, allocations: 44.83 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1415, allocations: 0 / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002332/0.1417, allocations: 117.6 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1417, allocations: 8 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1417, allocations: 3.984 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1417, allocations: 0 / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.1418, allocations: 12 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1418, allocations: 7.875 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.1419, allocations: 11.92 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1419, allocations: 4 kB / 0.5232 GB, free: 15.88 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.0002137/0.1421, allocations: 213.8 kB / 0.5234 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.1422, allocations: 43.67 kB / 0.5234 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.1425, allocations: 141 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1425, allocations: 0 / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1425, allocations: 3.938 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1425, allocations: 288 / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.143, allocations: 433.6 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.143, allocations: 4 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1431, allocations: 15.98 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1431, allocations: 3.938 kB / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1431, allocations: 3.984 kB / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1431, allocations: 0 / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1431, allocations: 0 / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1434, allocations: 219.2 kB / 0.5242 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1435, allocations: 35.72 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1435, allocations: 7.938 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.1436, allocations: 8.172 kB / 0.5243 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1436, allocations: 4 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1436, allocations: 4 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007255/0.1444, allocations: 0.6511 MB / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1444, allocations: 0 / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1446, allocations: 20 kB / 0.5249 GB, free: 14.01 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.001975/0.1466, allocations: 1.046 MB / 0.526 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1468, allocations: 51.89 kB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1468, allocations: 8 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.1469, allocations: 24.11 kB / 0.5261 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1473, allocations: 29.95 kB / 0.5261 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.1512, allocations: 3.195 MB / 0.5292 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.1517, allocations: 0.8221 MB / 0.53 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.1517, allocations: 8 kB / 0.53 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.1519, allocations: 103.4 kB / 0.5301 GB, free: 8.633 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1519, allocations: 7.938 kB / 0.5301 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.1883, allocations: 6.141 MB / 0.5361 GB, free: 2.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.67, allocations: 3.938 kB / 0.5361 GB, free: 2.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 14.824698437005281]