Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001532/0.001532, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001509/0.001509, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.496/1.496, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.2254/0.2254, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.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.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.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 72.16 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003282/0.1358, allocations: 1.653 MB / 0.5541 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.1367, allocations: 0.6919 MB / 0.5547 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.1368, allocations: 0 / 0.5547 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.137, allocations: 31.83 kB / 0.5548 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1372, allocations: 43.84 kB / 0.5548 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.1372, allocations: 0 / 0.5548 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1374, allocations: 31.89 kB / 0.5548 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1374, allocations: 4.281 kB / 0.5548 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1374, allocations: 19.91 kB / 0.5549 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1376, allocations: 7.938 kB / 0.5549 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1376, allocations: 4 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.467e-05/0.1376, allocations: 7.938 kB / 0.5549 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.1377, allocations: 23.92 kB / 0.5549 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.1377, allocations: 19.81 kB / 0.5549 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1378, allocations: 71.67 kB / 0.555 GB, free: 7.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1378, allocations: 3.938 kB / 0.555 GB, free: 7.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1378, allocations: 3.938 kB / 0.555 GB, free: 7.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1379, allocations: 0 / 0.555 GB, free: 7.512 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004804/0.1383, allocations: 367.1 kB / 0.5553 GB, free: 7.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1384, allocations: 12.03 kB / 0.5554 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.422e-05/0.1384, allocations: 4.172 kB / 0.5554 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.1384, allocations: 38.75 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.1385, allocations: 12.89 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1386, allocations: 176.2 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1386, allocations: 4.375 kB / 0.5556 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1387, allocations: 384 / 0.5556 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1389, allocations: 129.3 kB / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1389, allocations: 0 / 0.5557 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1389, allocations: 8 kB / 0.5557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.1389, allocations: 27.98 kB / 0.5557 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.139, allocations: 43.84 kB / 0.5558 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.1398, allocations: 0.8907 MB / 0.5566 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.14, allocations: 181.1 kB / 0.5568 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.14, allocations: 80.14 kB / 0.5569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.14, allocations: 79.28 kB / 0.557 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.893e-05/0.1401, allocations: 109.8 kB / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1401, allocations: 0 / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.048e-05/0.1402, allocations: 41.55 kB / 0.5571 GB, free: 5.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1403, allocations: 126.7 kB / 0.5572 GB, free: 4.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1405, allocations: 184.4 kB / 0.5574 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1405, allocations: 25.7 kB / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1406, allocations: 151.5 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.1406, allocations: 4 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.1407, allocations: 45.66 kB / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1408, allocations: 322.8 kB / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.1409, allocations: 31.98 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.141, allocations: 149.2 kB / 0.5581 GB, free: 3.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.1413, allocations: 208.9 kB / 0.5583 GB, free: 3.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1413, allocations: 4 kB / 0.5583 GB, free: 3.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000322/0.1416, allocations: 209.6 kB / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1417, allocations: 11.94 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1417, allocations: 4 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1417, allocations: 4 kB / 0.5585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1418, allocations: 35.92 kB / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1418, allocations: 8 kB / 0.5586 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.1419, allocations: 19.89 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1419, allocations: 8 kB / 0.5586 GB, free: 3.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0002203/0.1421, allocations: 229.8 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.1422, allocations: 113 kB / 0.5589 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.1423, allocations: 124.6 kB / 0.559 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001794/0.1425, allocations: 176.3 kB / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.56e-05/0.1425, allocations: 184.2 kB / 0.5594 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001907/0.1427, allocations: 176.3 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.1431, allocations: 429.1 kB / 0.56 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/0.1431, allocations: 104.9 kB / 0.5601 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1432, allocations: 101 kB / 0.5602 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-05/0.1433, allocations: 188.2 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.1435, allocations: 180.3 kB / 0.5605 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.229e-05/0.1435, allocations: 180.2 kB / 0.5607 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001459/0.1437, allocations: 180.3 kB / 0.5609 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1439, allocations: 327.6 kB / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.1441, allocations: 182 kB / 0.5613 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.1442, allocations: 184.2 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.1443, allocations: 105 kB / 0.5616 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.1444, allocations: 184.2 kB / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.1445, allocations: 112.9 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1446, allocations: 127.2 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1446, allocations: 0 / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1449, allocations: 16 kB / 0.562 GB, free: 15.67 MB / 430.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 (0): * Single equations (assignments): 0 * 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.001101/0.146, allocations: 0.9174 MB / 0.5629 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1462, allocations: 68.66 kB / 0.563 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1462, allocations: 4.375 kB / 0.563 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1462, allocations: 7.938 kB / 0.563 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1466, allocations: 461.5 kB / 0.5635 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1486, allocations: 1.876 MB / 0.5653 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1491, allocations: 0.6967 MB / 0.566 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1492, allocations: 49.02 kB / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.1493, allocations: 31.42 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1493, allocations: 0 / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1691, allocations: 2.172 MB / 0.5682 GB, free: 9.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.607, allocations: 15.12 kB / 0.5682 GB, free: 9.25 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.76476658100728]