Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001396/0.001396, allocations: 118.1 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.001907/0.001907, 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.482/1.482, allocations: 225.6 MB / 249.8 MB, free: 3.723 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.2249/0.2249, 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 65.41 kB / 491.8 MB, free: 30.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 64.27 MB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003346/0.1401, allocations: 1.623 MB / 0.5446 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.141, allocations: 427.1 kB / 0.545 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1411, allocations: 4 kB / 0.545 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.1417, allocations: 455.1 kB / 0.5455 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1421, allocations: 243.5 kB / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1424, allocations: 135.2 kB / 0.5458 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1427, allocations: 171.6 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1428, allocations: 16.39 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.143, allocations: 107.8 kB / 0.5461 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1432, allocations: 247.5 kB / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1433, allocations: 8 kB / 0.5463 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.1434, allocations: 28 kB / 0.5464 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1435, allocations: 87.62 kB / 0.5465 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.1436, allocations: 107 kB / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1439, allocations: 262.6 kB / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1439, allocations: 0 / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1439, allocations: 0 / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.144, allocations: 0 / 0.5468 GB, free: 192 kB / 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.0008773/0.1448, allocations: 0.6531 MB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1449, allocations: 16.03 kB / 0.5475 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1449, allocations: 34.75 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.145, allocations: 44.66 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1453, allocations: 304.5 kB / 0.5478 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1453, allocations: 384 / 0.5478 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1454, allocations: 8.125 kB / 0.5478 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1455, allocations: 61.66 kB / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1456, allocations: 0 / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1456, allocations: 0 / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1456, allocations: 4 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1457, allocations: 31.97 kB / 0.5479 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.1462, allocations: 396.7 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1464, allocations: 38.56 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.1465, allocations: 32.92 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1465, allocations: 4 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1465, allocations: 30.56 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1465, allocations: 0 / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007928/0.1473, allocations: 296.5 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1473, allocations: 51.41 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.1483, allocations: 0.8613 MB / 0.5496 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1483, allocations: 33.7 kB / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1485, allocations: 215.7 kB / 0.5498 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.1485, allocations: 27.78 kB / 0.5498 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1486, allocations: 17.72 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1488, allocations: 366.8 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1489, allocations: 31.92 kB / 0.5502 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.149, allocations: 31.97 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1492, allocations: 80.86 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1492, allocations: 0 / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002848/0.1495, allocations: 149.3 kB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1495, allocations: 4 kB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1495, allocations: 0 / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1495, allocations: 0 / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1496, allocations: 23.92 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1496, allocations: 3.938 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.1497, allocations: 19.98 kB / 0.5505 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1497, allocations: 0 / 0.5505 GB, free: 12.12 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.0002865/0.15, allocations: 209.8 kB / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.1501, allocations: 47.67 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.1504, allocations: 157.4 kB / 0.5509 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1504, allocations: 4 kB / 0.5509 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1504, allocations: 3.938 kB / 0.5509 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1504, allocations: 4 kB / 0.5509 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.1511, allocations: 0.4949 MB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1511, allocations: 0 / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.1512, allocations: 15.98 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1512, allocations: 7.938 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1512, allocations: 0 / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1512, allocations: 4 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1512, allocations: 0 / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.1515, allocations: 239.2 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1516, allocations: 116.8 kB / 0.5518 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1517, allocations: 7.938 kB / 0.5518 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.1518, allocations: 11.94 kB / 0.5518 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1518, allocations: 7.984 kB / 0.5518 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1518, allocations: 4 kB / 0.5518 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006904/0.1525, allocations: 0.6511 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1525, allocations: 0 / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1528, allocations: 27.94 kB / 0.5525 GB, free: 10.02 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.002321/0.1551, allocations: 1.092 MB / 0.5536 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1554, allocations: 71.94 kB / 0.5536 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1554, allocations: 4 kB / 0.5536 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1556, allocations: 43.89 kB / 0.5537 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.1561, allocations: 25.95 kB / 0.5537 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.1606, allocations: 3.268 MB / 0.5569 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.1612, allocations: 0.8259 MB / 0.5577 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.637e-05/0.1613, allocations: 16.95 kB / 0.5577 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1614, allocations: 103.4 kB / 0.5578 GB, free: 4.594 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1614, allocations: 0 / 0.5578 GB, free: 4.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.191, allocations: 6.138 MB / 0.5638 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.467, allocations: 7.047 kB / 0.5638 GB, free: 14.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 11.602028422988951]