Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001586/0.001586, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001432/0.001432, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.89 kB / 0.491 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1256, allocations: 65.99 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003093/0.1287, allocations: 1.687 MB / 0.5571 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1298, allocations: 0.5767 MB / 0.5576 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1298, allocations: 3.938 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.1305, allocations: 459.1 kB / 0.5581 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.1309, allocations: 291.3 kB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1314, allocations: 183.2 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1316, allocations: 175.7 kB / 0.5587 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1317, allocations: 16.22 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1318, allocations: 115.7 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1321, allocations: 255.4 kB / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1321, allocations: 4 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1322, allocations: 55.97 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1323, allocations: 87.69 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.1324, allocations: 107 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.1328, allocations: 286.4 kB / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1328, allocations: 0 / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1328, allocations: 0 / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1328, allocations: 0 / 0.5596 GB, free: 1.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008167/0.1336, allocations: 0.6761 MB / 0.5602 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1337, allocations: 12.03 kB / 0.5602 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1337, allocations: 34.75 kB / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.1338, allocations: 48.66 kB / 0.5603 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1341, allocations: 300.6 kB / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1341, allocations: 4.375 kB / 0.5606 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1342, allocations: 4.375 kB / 0.5606 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1343, allocations: 73.47 kB / 0.5607 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1343, allocations: 4 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1344, allocations: 0 / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1344, allocations: 0 / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1345, allocations: 31.98 kB / 0.5607 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.1352, allocations: 420.6 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1353, allocations: 42.56 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.1353, allocations: 16.94 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1354, allocations: 4 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1354, allocations: 42.59 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1354, allocations: 0 / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001155/0.1366, allocations: 332.8 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1366, allocations: 55.34 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.1376, allocations: 0.8777 MB / 0.5624 GB, free: 14.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1376, allocations: 25.7 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1378, allocations: 232.1 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.1378, allocations: 27.75 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1379, allocations: 21.7 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1381, allocations: 362.8 kB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1382, allocations: 31.97 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.1382, allocations: 27.98 kB / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1384, allocations: 88.73 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1384, allocations: 0 / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002726/0.1387, allocations: 149.3 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1387, allocations: 4 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1387, allocations: 0 / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1387, allocations: 0 / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1388, allocations: 27.92 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1388, allocations: 320 / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.1389, allocations: 11.98 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1389, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.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 (8): * Single equations (assignments): 8 * 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.0001999/0.1391, allocations: 220 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1392, allocations: 43.72 kB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.1395, allocations: 177.5 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1396, allocations: 3.938 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1396, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1396, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.1403, allocations: 0.5265 MB / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1403, allocations: 0 / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.1404, allocations: 19.98 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1404, allocations: 7.969 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1404, allocations: 4 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1404, allocations: 4 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.1404, allocations: 3.938 kB / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1408, allocations: 248 kB / 0.5646 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1409, allocations: 120.8 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1409, allocations: 8 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.141, allocations: 4 kB / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.141, allocations: 3.984 kB / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.141, allocations: 8 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006963/0.1417, allocations: 0.6589 MB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1417, allocations: 0 / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.142, allocations: 31.94 kB / 0.5654 GB, free: 11.15 MB / 430.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 (8): * Single equations (assignments): 8 * 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.002252/0.1443, allocations: 1.144 MB / 0.5666 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.1445, allocations: 79.88 kB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1445, allocations: 0 / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1446, allocations: 39.97 kB / 0.5667 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.145, allocations: 26.3 kB / 0.5667 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.1492, allocations: 3.398 MB / 0.57 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.1498, allocations: 0.8299 MB / 0.5708 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.05e-05/0.1498, allocations: 24.42 kB / 0.5708 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.15, allocations: 127.3 kB / 0.571 GB, free: 5.531 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.15, allocations: 0 / 0.571 GB, free: 5.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.1799, allocations: 6.5 MB / 0.5773 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/8.951, allocations: 3.938 kB / 0.5773 GB, free: 15.06 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.9778445889242]