Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001252/0.001252, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001291/0.001291, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.507/1.507, allocations: 225.6 MB / 249.8 MB, free: 3.754 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.2444/0.2444, allocations: 44.91 MB / 349.6 MB, free: 1.77 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.31 kB / 491.8 MB, free: 30.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1285, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003314/0.1318, allocations: 1.622 MB / 0.5446 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.1327, allocations: 423.1 kB / 0.545 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.1328, allocations: 7.938 kB / 0.545 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1331, allocations: 91.73 kB / 0.5451 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1333, allocations: 67.73 kB / 0.5452 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1336, allocations: 91.75 kB / 0.5453 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1338, allocations: 95.73 kB / 0.5453 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1339, allocations: 19.92 kB / 0.5454 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.1339, allocations: 35.91 kB / 0.5454 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1341, allocations: 75.73 kB / 0.5455 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1341, allocations: 4 kB / 0.5455 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1342, allocations: 39.98 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1343, allocations: 31.91 kB / 0.5455 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.1343, allocations: 43.67 kB / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1345, allocations: 115.4 kB / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1346, allocations: 0 / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1346, allocations: 0 / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1346, allocations: 0 / 0.5457 GB, free: 1.355 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006548/0.1352, allocations: 430.7 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.1353, allocations: 19.97 kB / 0.5461 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1353, allocations: 34.75 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1354, allocations: 20.83 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1356, allocations: 212.1 kB / 0.5464 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1356, allocations: 384 / 0.5464 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.1356, allocations: 8.375 kB / 0.5464 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1358, allocations: 69.55 kB / 0.5465 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1358, allocations: 0 / 0.5465 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1359, allocations: 8 kB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1359, allocations: 0 / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.136, allocations: 43.97 kB / 0.5465 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.1364, allocations: 324.6 kB / 0.5468 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1366, allocations: 62.55 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.1367, allocations: 20.84 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1367, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1367, allocations: 38.56 kB / 0.5469 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1367, allocations: 0 / 0.5469 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.1378, allocations: 313.6 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1378, allocations: 55.41 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1381, allocations: 228.3 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1381, allocations: 25.7 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.1382, allocations: 112.1 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.1382, allocations: 51.56 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1383, allocations: 25.81 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1384, allocations: 330.8 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.1385, allocations: 35.98 kB / 0.5481 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.1386, allocations: 39.97 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1388, allocations: 92.2 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1388, allocations: 0 / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002529/0.1391, allocations: 137.5 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1391, allocations: 4 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1391, allocations: 4 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1391, allocations: 7.938 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1393, allocations: 23.98 kB / 0.5484 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1393, allocations: 0 / 0.5484 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1393, allocations: 15.98 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1393, allocations: 4 kB / 0.5484 GB, free: 14.38 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 (13): * Single equations (assignments): 13 * 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.0001224/0.1394, allocations: 129.8 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1395, allocations: 19.89 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.1398, allocations: 159.1 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1398, allocations: 4 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1398, allocations: 0 / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1398, allocations: 3.938 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.1405, allocations: 475 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1405, allocations: 4 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.1405, allocations: 28.02 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1406, allocations: 0 / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1406, allocations: 4 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1406, allocations: 4 kB / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1406, allocations: 0 / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1409, allocations: 248.1 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1409, allocations: 89.02 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.141, allocations: 4 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.141, allocations: 11.98 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1411, allocations: 4 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1411, allocations: 4 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1412, allocations: 175.5 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1412, allocations: 4 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1415, allocations: 23.94 kB / 0.5497 GB, free: 12.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002293/0.1438, allocations: 1.14 MB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.144, allocations: 91.89 kB / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1441, allocations: 0 / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1442, allocations: 47.97 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1446, allocations: 34.12 kB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1468, allocations: 1.813 MB / 0.5528 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1472, allocations: 0.7158 MB / 0.5535 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.1473, allocations: 20.55 kB / 0.5535 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.1474, allocations: 43.42 kB / 0.5535 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1474, allocations: 0 / 0.5535 GB, free: 9.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.1729, allocations: 3.468 MB / 0.5569 GB, free: 5.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.039, allocations: 9.156 kB / 0.5569 GB, free: 5.609 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.324470849242061]