Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001909/0.001909, allocations: 114.3 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.002425/0.002425, allocations: 219 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2439/0.2439, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 63.91 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1431, allocations: 66 MB / 0.5561 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003364/0.1464, allocations: 1.618 MB / 0.5577 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1476, allocations: 0.5533 MB / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.1477, allocations: 7.938 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.148, allocations: 75.77 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1483, allocations: 103.6 kB / 0.5584 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1486, allocations: 115.6 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1488, allocations: 87.75 kB / 0.5586 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1489, allocations: 11.98 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.149, allocations: 47.77 kB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1491, allocations: 51.83 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1491, allocations: 4 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1493, allocations: 47.97 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.1493, allocations: 23.86 kB / 0.5588 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1494, allocations: 31.75 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1496, allocations: 103.6 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1496, allocations: 7.938 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1496, allocations: 4 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1496, allocations: 0 / 0.5589 GB, free: 2.902 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.0005426/0.1501, allocations: 418.7 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1502, allocations: 8.031 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.1502, allocations: 192 / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.1502, allocations: 38.75 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1502, allocations: 12.84 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1505, allocations: 215.1 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1505, allocations: 4.375 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1505, allocations: 8.125 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1507, allocations: 57.61 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1507, allocations: 0 / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1507, allocations: 4 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1507, allocations: 0 / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1508, allocations: 23.98 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.1512, allocations: 308.8 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1514, allocations: 42.5 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.1514, allocations: 20.94 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1514, allocations: 0 / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1515, allocations: 30.56 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1515, allocations: 0 / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009785/0.1524, allocations: 237.2 kB / 0.5603 GB, free: 1.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1525, allocations: 59.34 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1527, allocations: 226.2 kB / 0.5605 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1527, allocations: 29.7 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1528, allocations: 104.1 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1528, allocations: 27.75 kB / 0.5607 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1529, allocations: 25.7 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.153, allocations: 326.8 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.1531, allocations: 23.98 kB / 0.5611 GB, free: 484 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1532, allocations: 35.91 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1534, allocations: 76.89 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1534, allocations: 0 / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.1537, allocations: 117.8 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1537, allocations: 8 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1537, allocations: 0 / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1537, allocations: 0 / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1538, allocations: 19.92 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1538, allocations: 7.875 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1538, allocations: 8 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1539, allocations: 4 kB / 0.5613 GB, free: 196 kB / 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 (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.0001113/0.154, allocations: 132 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.154, allocations: 11.91 kB / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.1543, allocations: 131.1 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1543, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1543, allocations: 3.938 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1544, allocations: 4.422 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.155, allocations: 423.2 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.155, allocations: 7.875 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.155, allocations: 19.98 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.155, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.155, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1551, allocations: 4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1551, allocations: 8.016 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1554, allocations: 212.3 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1554, allocations: 96.89 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1554, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1555, allocations: 8 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1555, allocations: 15.92 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1555, allocations: 0 / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1557, allocations: 164.2 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1557, allocations: 0 / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.156, allocations: 27.92 kB / 0.5625 GB, free: 14.83 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.002221/0.1582, allocations: 1.097 MB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1584, allocations: 75.89 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1585, allocations: 0 / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1586, allocations: 39.91 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.159, allocations: 21.3 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1611, allocations: 1.727 MB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1615, allocations: 0.708 MB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.181e-05/0.1616, allocations: 20.95 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.1616, allocations: 39.42 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1616, allocations: 4 kB / 0.5662 GB, free: 11.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1805, allocations: 3.22 MB / 0.5693 GB, free: 7.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.614, allocations: 8.047 kB / 0.5693 GB, free: 7.98 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.943938230047934]