Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001854/0.001854, allocations: 119 kB / 18.5 MB, free: 4.582 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.002012/0.002012, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.473/1.473, allocations: 225.6 MB / 249.8 MB, free: 3.758 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.2258/0.2258, allocations: 44.92 MB / 349.6 MB, free: 1.766 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.97 kB / 491.8 MB, free: 30.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1229, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003519/0.1264, allocations: 2.053 MB / 0.545 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1283, allocations: 1.165 MB / 0.5462 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1284, allocations: 4 kB / 0.5462 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1287, allocations: 51.56 kB / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.1291, allocations: 155.2 kB / 0.5464 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1303, allocations: 0.5876 MB / 0.5469 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1308, allocations: 311.1 kB / 0.5472 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1309, allocations: 48.73 kB / 0.5473 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1311, allocations: 135.4 kB / 0.5474 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1314, allocations: 219.2 kB / 0.5476 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1314, allocations: 12 kB / 0.5476 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1315, allocations: 59.98 kB / 0.5477 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1317, allocations: 147.5 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1319, allocations: 178.6 kB / 0.548 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.1324, allocations: 413.9 kB / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1324, allocations: 0 / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1324, allocations: 0 / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1324, allocations: 7.938 kB / 0.5484 GB, free: 14.61 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001154/0.1336, allocations: 0.8199 MB / 0.5492 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1336, allocations: 8.031 kB / 0.5492 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.1337, allocations: 50.72 kB / 0.5493 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.1338, allocations: 56.56 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.1344, allocations: 472.2 kB / 0.5498 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1344, allocations: 8.375 kB / 0.5498 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1345, allocations: 19.89 kB / 0.5498 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1348, allocations: 159.2 kB / 0.5499 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1348, allocations: 8 kB / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1348, allocations: 0 / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1348, allocations: 4 kB / 0.55 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1352, allocations: 115.8 kB / 0.5501 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1363, allocations: 0.723 MB / 0.5508 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1366, allocations: 125.2 kB / 0.5509 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1368, allocations: 65.81 kB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1368, allocations: 3.984 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1368, allocations: 46.5 kB / 0.551 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.1368, allocations: 0 / 0.551 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002025/0.1389, allocations: 0.7531 MB / 0.5517 GB, free: 10.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.1389, allocations: 85.09 kB / 0.5518 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.14, allocations: 0.8906 MB / 0.5527 GB, free: 9.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.14, allocations: 25.7 kB / 0.5527 GB, free: 9.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.1403, allocations: 256.4 kB / 0.553 GB, free: 9.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.1403, allocations: 71.38 kB / 0.553 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.1404, allocations: 41.7 kB / 0.5531 GB, free: 9.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1406, allocations: 378.7 kB / 0.5534 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.1409, allocations: 103.9 kB / 0.5535 GB, free: 9.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.1412, allocations: 135.3 kB / 0.5536 GB, free: 8.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.1418, allocations: 245.6 kB / 0.5539 GB, free: 8.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1418, allocations: 7.938 kB / 0.5539 GB, free: 8.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007495/0.1425, allocations: 345.2 kB / 0.5542 GB, free: 8.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1425, allocations: 4 kB / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1425, allocations: 0 / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1426, allocations: 4 kB / 0.5542 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.1429, allocations: 52.11 kB / 0.5543 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1429, allocations: 4 kB / 0.5543 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1431, allocations: 27.91 kB / 0.5543 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1431, allocations: 8 kB / 0.5543 GB, free: 8.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002492/0.1433, allocations: 221.7 kB / 0.5545 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1434, allocations: 59.58 kB / 0.5546 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008855/0.1443, allocations: 398.8 kB / 0.555 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1443, allocations: 4 kB / 0.555 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1443, allocations: 0 / 0.555 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1443, allocations: 11.97 kB / 0.555 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.1459, allocations: 0.9541 MB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1459, allocations: 3.938 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1461, allocations: 55.95 kB / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1461, allocations: 0 / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1462, allocations: 8.453 kB / 0.556 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1462, allocations: 3.938 kB / 0.556 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1462, allocations: 0 / 0.556 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.147, allocations: 0.5138 MB / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.1472, allocations: 152.7 kB / 0.5566 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.1472, allocations: 4 kB / 0.5566 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1475, allocations: 31.91 kB / 0.5567 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.1475, allocations: 19.97 kB / 0.5567 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1476, allocations: 4 kB / 0.5567 GB, free: 5.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007803/0.1483, allocations: 0.6474 MB / 0.5573 GB, free: 5.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1483, allocations: 4 kB / 0.5573 GB, free: 5.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.1487, allocations: 63.98 kB / 0.5574 GB, free: 5.023 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 (20): * Single equations (assignments): 20 * 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.002494/0.1512, allocations: 1.348 MB / 0.5587 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006935/0.1519, allocations: 259.6 kB / 0.5589 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1519, allocations: 0 / 0.5589 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1522, allocations: 139.8 kB / 0.5591 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.1528, allocations: 82.61 kB / 0.5592 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.1603, allocations: 5.38 MB / 0.5644 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.1608, allocations: 0.877 MB / 0.5653 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1611, allocations: 99.19 kB / 0.5654 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.1613, allocations: 179.4 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1613, allocations: 0 / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.1935, allocations: 10.37 MB / 0.5757 GB, free: 2.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/8.796, allocations: 6.75 kB / 0.5757 GB, free: 2.367 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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: 12.006486422847956]