Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.00155/0.00155, allocations: 121 kB / 18.5 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.00145/0.00145, allocations: 213.5 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.544/1.544, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2404/0.2404, allocations: 46.91 MB / 357.8 MB, free: 10.32 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002901, allocations: 67.89 kB / 0.4917 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1495, allocations: 65.98 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003313/0.1528, allocations: 1.677 MB / 0.5577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1539, allocations: 0.5378 MB / 0.5582 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1539, allocations: 0 / 0.5582 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1542, allocations: 99.67 kB / 0.5583 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1545, allocations: 111.6 kB / 0.5584 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1548, allocations: 91.75 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.155, allocations: 99.73 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1551, allocations: 19.98 kB / 0.5586 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.1552, allocations: 51.72 kB / 0.5587 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1553, allocations: 71.73 kB / 0.5588 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1553, allocations: 4 kB / 0.5588 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1554, allocations: 47.98 kB / 0.5588 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1554, allocations: 27.91 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1555, allocations: 43.67 kB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1557, allocations: 131.4 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1557, allocations: 0 / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1557, allocations: 0 / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1557, allocations: 0 / 0.559 GB, free: 2.828 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005702/0.1563, allocations: 434.6 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1563, allocations: 8.031 kB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.1564, allocations: 8.188 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.1564, allocations: 34.75 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1564, allocations: 16.84 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1567, allocations: 212.1 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1567, allocations: 12.31 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1567, allocations: 8.125 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1569, allocations: 65.67 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1569, allocations: 3.953 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1569, allocations: 0 / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1569, allocations: 4 kB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.157, allocations: 47.89 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1575, allocations: 328.7 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1576, allocations: 54.56 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.1577, allocations: 24.84 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1577, allocations: 8.141 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1578, allocations: 30.56 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.1578, allocations: 0 / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.1589, allocations: 324.5 kB / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1589, allocations: 55.41 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1592, allocations: 235.5 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1592, allocations: 25.7 kB / 0.5609 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.1593, allocations: 116 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.1594, allocations: 47.62 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1594, allocations: 33.7 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1596, allocations: 326.8 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1597, allocations: 39.97 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/0.1598, allocations: 32 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.16, allocations: 84.83 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.16, allocations: 0 / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003029/0.1603, allocations: 145.5 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1603, allocations: 11.94 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1603, allocations: 3.938 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1603, allocations: 3.984 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1604, allocations: 32.09 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1604, allocations: 3.938 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.1605, allocations: 4 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1605, allocations: 0 / 0.5617 GB, free: 15.82 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 (13): * Single equations (assignments): 13 * 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.000123/0.1606, allocations: 140 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1607, allocations: 15.91 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.161, allocations: 163.1 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.161, allocations: 4 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.161, allocations: 0 / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.161, allocations: 3.984 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.1617, allocations: 475.1 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1617, allocations: 8.016 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1618, allocations: 23.98 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1618, allocations: 4 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1618, allocations: 3.984 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1618, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1618, allocations: 4 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1622, allocations: 252.1 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.1623, allocations: 92.95 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1623, allocations: 11.98 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1624, allocations: 4 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1624, allocations: 11.98 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1624, allocations: 8 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1626, allocations: 177.2 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1626, allocations: 0 / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1629, allocations: 28 kB / 0.5631 GB, free: 14.31 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 (13): * Single equations (assignments): 13 * 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.002289/0.1652, allocations: 1.131 MB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1654, allocations: 87.89 kB / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1654, allocations: 0 / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1655, allocations: 51.97 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1659, allocations: 23.75 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1683, allocations: 1.846 MB / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1686, allocations: 0.7197 MB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1687, allocations: 20.53 kB / 0.5669 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1688, allocations: 43.42 kB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1688, allocations: 0 / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.1883, allocations: 3.596 MB / 0.5704 GB, free: 6.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.672, allocations: 15.95 kB / 0.5704 GB, free: 6.891 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 11.979696460010018]