Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.00144/0.00144, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001613/0.001613, allocations: 215 kB / 21.45 MB, free: 1.617 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2371/0.2371, allocations: 46.93 MB / 357.8 MB, free: 10.34 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.91 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003465/0.1388, allocations: 1.662 MB / 0.5577 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.14, allocations: 0.5806 MB / 0.5583 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.14, allocations: 3.938 kB / 0.5583 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.1407, allocations: 459.1 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.1412, allocations: 291.3 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1416, allocations: 179.4 kB / 0.5592 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1419, allocations: 187.5 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.142, allocations: 12 kB / 0.5594 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1421, allocations: 115.7 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1424, allocations: 251.5 kB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1424, allocations: 4 kB / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.1425, allocations: 27.98 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1426, allocations: 91.56 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1427, allocations: 111 kB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.143, allocations: 278.6 kB / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.143, allocations: 0 / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.143, allocations: 0 / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1431, allocations: 0 / 0.5602 GB, free: 1.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008914/0.1439, allocations: 0.6801 MB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.144, allocations: 8.031 kB / 0.5609 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.144, allocations: 4.188 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.1441, allocations: 30.75 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.1441, allocations: 44.66 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1445, allocations: 312.5 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1445, allocations: 4.375 kB / 0.5612 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1445, allocations: 8.125 kB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1447, allocations: 65.64 kB / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1448, allocations: 0 / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1448, allocations: 0 / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1448, allocations: 0 / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1449, allocations: 39.97 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.1456, allocations: 416.6 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1458, allocations: 42.55 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.1459, allocations: 24.94 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1459, allocations: 3.984 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1459, allocations: 34.56 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1459, allocations: 3.938 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001012/0.1469, allocations: 320.6 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.147, allocations: 59.41 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.1479, allocations: 0.8776 MB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1479, allocations: 25.7 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.1481, allocations: 224 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1482, allocations: 23.8 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1482, allocations: 21.7 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1484, allocations: 366.7 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1485, allocations: 35.97 kB / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1486, allocations: 43.95 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1489, allocations: 84.8 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1489, allocations: 0 / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000353/0.1492, allocations: 169.3 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1493, allocations: 4 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1493, allocations: 0 / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1493, allocations: 0 / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1494, allocations: 23.92 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1494, allocations: 3.938 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.1495, allocations: 19.98 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1495, allocations: 0 / 0.5641 GB, free: 13.39 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 (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.0002449/0.1498, allocations: 224 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.1499, allocations: 39.72 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.1503, allocations: 177.5 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1503, allocations: 3.938 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1503, allocations: 3.938 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1503, allocations: 3.984 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.1511, allocations: 0.5066 MB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1511, allocations: 4 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1512, allocations: 15.98 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1512, allocations: 3.938 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1512, allocations: 8 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1512, allocations: 0 / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1512, allocations: 8.016 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.1517, allocations: 263.1 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1518, allocations: 112.8 kB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1518, allocations: 7.938 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1519, allocations: 7.984 kB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.152, allocations: 12 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.152, allocations: 0 / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007014/0.1527, allocations: 0.6589 MB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1527, allocations: 0 / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.153, allocations: 24 kB / 0.5661 GB, free: 11.21 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 (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.002251/0.1552, allocations: 1.108 MB / 0.5672 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.1556, allocations: 83.94 kB / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1556, allocations: 0 / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1557, allocations: 55.89 kB / 0.5673 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.1562, allocations: 24.12 kB / 0.5673 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.1609, allocations: 3.382 MB / 0.5706 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.1614, allocations: 0.8299 MB / 0.5714 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.1615, allocations: 28.94 kB / 0.5715 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1617, allocations: 111.4 kB / 0.5716 GB, free: 5.617 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1617, allocations: 0 / 0.5716 GB, free: 5.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.1854, allocations: 6.333 MB / 0.5778 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.022/9.207, allocations: 11.94 kB / 0.5778 GB, free: 15.32 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 12.45445301104337]