Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 44.91 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 64.28 kB / 491.8 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003732/0.1189, allocations: 1.984 MB / 0.5449 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1207, allocations: 0.9548 MB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1209, allocations: 4 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.1214, allocations: 267.2 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.1218, allocations: 199.2 kB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1233, allocations: 0.6387 MB / 0.547 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.1238, allocations: 299.2 kB / 0.5472 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.124, allocations: 68.64 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.1242, allocations: 131.6 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1245, allocations: 219.2 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1245, allocations: 12 kB / 0.5476 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1247, allocations: 67.97 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1249, allocations: 107.6 kB / 0.5478 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.125, allocations: 123 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.1255, allocations: 330.4 kB / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1255, allocations: 0 / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1255, allocations: 0 / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1255, allocations: 0 / 0.5482 GB, free: 14.73 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009428/0.1264, allocations: 0.6647 MB / 0.5489 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1265, allocations: 12.03 kB / 0.5489 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1265, allocations: 46.69 kB / 0.549 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.1266, allocations: 40.66 kB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.1271, allocations: 342.5 kB / 0.5493 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1271, allocations: 4.375 kB / 0.5493 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1271, allocations: 20.31 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1274, allocations: 129.5 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1274, allocations: 0 / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1274, allocations: 8 kB / 0.5495 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1274, allocations: 0 / 0.5495 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1277, allocations: 95.88 kB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.1285, allocations: 0.512 MB / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1287, allocations: 106.5 kB / 0.5502 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.1288, allocations: 40.78 kB / 0.5502 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.1288, allocations: 3.984 kB / 0.5502 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1288, allocations: 38.5 kB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1288, allocations: 4 kB / 0.5503 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001081/0.1299, allocations: 444.6 kB / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1299, allocations: 51.41 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.1307, allocations: 0.5564 MB / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1307, allocations: 29.7 kB / 0.5513 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1309, allocations: 208.4 kB / 0.5515 GB, free: 11.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.1309, allocations: 55.55 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.131, allocations: 37.7 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1312, allocations: 350.8 kB / 0.5519 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1313, allocations: 63.95 kB / 0.552 GB, free: 10.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1314, allocations: 65.98 kB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1317, allocations: 160.6 kB / 0.5522 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1317, allocations: 4 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004148/0.1321, allocations: 230.9 kB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1321, allocations: 4 kB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1322, allocations: 0 / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1322, allocations: 0 / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1323, allocations: 35.97 kB / 0.5525 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1323, allocations: 0 / 0.5525 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.1324, allocations: 11.94 kB / 0.5525 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1324, allocations: 12 kB / 0.5525 GB, free: 10.16 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 (17): * Single equations (assignments): 17 * 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.0001967/0.1326, allocations: 181.7 kB / 0.5527 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.1327, allocations: 43.72 kB / 0.5527 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.1332, allocations: 282.9 kB / 0.553 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1333, allocations: 4 kB / 0.553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1333, allocations: 0 / 0.553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1333, allocations: 0 / 0.553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.1342, allocations: 0.6816 MB / 0.5536 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1342, allocations: 0 / 0.5536 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1343, allocations: 31.92 kB / 0.5537 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1343, allocations: 4 kB / 0.5537 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1344, allocations: 0 / 0.5537 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1344, allocations: 7.875 kB / 0.5537 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1344, allocations: 4 kB / 0.5537 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.1348, allocations: 337.5 kB / 0.554 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1349, allocations: 116.8 kB / 0.5541 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1349, allocations: 8 kB / 0.5541 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1351, allocations: 15.92 kB / 0.5541 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1351, allocations: 11.98 kB / 0.5541 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1351, allocations: 4 kB / 0.5542 GB, free: 8.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004874/0.1356, allocations: 423 kB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1356, allocations: 0 / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1359, allocations: 47.94 kB / 0.5546 GB, free: 7.879 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 (17): * Single equations (assignments): 17 * 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.003291/0.1392, allocations: 1.464 MB / 0.556 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.1396, allocations: 159.8 kB / 0.5562 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1396, allocations: 3.938 kB / 0.5562 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1397, allocations: 83.89 kB / 0.5563 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.1403, allocations: 81.64 kB / 0.5563 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.1447, allocations: 3.204 MB / 0.5595 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1452, allocations: 0.8143 MB / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.1454, allocations: 70.22 kB / 0.5603 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.1456, allocations: 119.4 kB / 0.5604 GB, free: 2.066 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1456, allocations: 0 / 0.5604 GB, free: 2.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.1804, allocations: 7.533 MB / 0.5678 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.627, allocations: 22.33 kB / 0.5678 GB, free: 10.53 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.770665987860411]