Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001382/0.001382, allocations: 113 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.001485/0.001485, allocations: 217.4 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2164/0.2164, 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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001979/0.001979, allocations: 63.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.156, allocations: 65.43 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003264/0.1592, allocations: 1.679 MB / 0.5541 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1604, allocations: 0.5883 MB / 0.5547 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.1604, allocations: 0 / 0.5547 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1607, allocations: 75.77 kB / 0.5548 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.161, allocations: 103.6 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1615, allocations: 183 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1617, allocations: 87.75 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1619, allocations: 28.42 kB / 0.5551 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1619, allocations: 39.78 kB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1621, allocations: 63.75 kB / 0.5552 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1621, allocations: 4 kB / 0.5552 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1622, allocations: 47.98 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.1623, allocations: 39.89 kB / 0.5553 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.1623, allocations: 31.69 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1626, allocations: 123.5 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1626, allocations: 0 / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1626, allocations: 4 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1626, allocations: 3.938 kB / 0.5555 GB, free: 6.996 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006411/0.1632, allocations: 438.5 kB / 0.5559 GB, free: 6.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1633, allocations: 8.031 kB / 0.5559 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.986e-05/0.1633, allocations: 4.188 kB / 0.5559 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1633, allocations: 42.75 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1634, allocations: 12.84 kB / 0.556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1636, allocations: 216 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1637, allocations: 4.375 kB / 0.5562 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1637, allocations: 8.125 kB / 0.5562 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1639, allocations: 65.66 kB / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1639, allocations: 0 / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1639, allocations: 0 / 0.5562 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1639, allocations: 4 kB / 0.5562 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.1641, allocations: 47.95 kB / 0.5563 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.1646, allocations: 324.7 kB / 0.5566 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1648, allocations: 54.55 kB / 0.5567 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.1649, allocations: 36.98 kB / 0.5567 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.165, allocations: 8 kB / 0.5567 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.165, allocations: 34.56 kB / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.165, allocations: 0 / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001598/0.1666, allocations: 436.8 kB / 0.5571 GB, free: 5.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1666, allocations: 59.39 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1669, allocations: 218.6 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1669, allocations: 25.7 kB / 0.5574 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.167, allocations: 108.1 kB / 0.5575 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.167, allocations: 39.62 kB / 0.5576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.1671, allocations: 29.7 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1672, allocations: 326.8 kB / 0.5579 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1674, allocations: 55.95 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1675, allocations: 47.97 kB / 0.558 GB, free: 4.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1678, allocations: 128.7 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1678, allocations: 0.5625 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004049/0.1682, allocations: 173.5 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1683, allocations: 8 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1683, allocations: 0 / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1683, allocations: 3.938 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1684, allocations: 31.97 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1684, allocations: 7.875 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.1685, allocations: 15.98 kB / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1685, allocations: 0 / 0.5584 GB, free: 3.797 MB / 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 (11): * Single equations (assignments): 11 * 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.0001453/0.1687, allocations: 141.1 kB / 0.5585 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.1687, allocations: 11.91 kB / 0.5585 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.1692, allocations: 195.2 kB / 0.5587 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1692, allocations: 0 / 0.5587 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1692, allocations: 4 kB / 0.5587 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1692, allocations: 3.984 kB / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.17, allocations: 0.5077 MB / 0.5592 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.17, allocations: 0 / 0.5592 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1701, allocations: 31.92 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1701, allocations: 4.062 kB / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1702, allocations: 0 / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1702, allocations: 4 kB / 0.5592 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1702, allocations: 0 / 0.5592 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1706, allocations: 277 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.1707, allocations: 100.9 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1707, allocations: 4 kB / 0.5596 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1708, allocations: 7.984 kB / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1708, allocations: 8 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1709, allocations: 7.984 kB / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.171, allocations: 171.2 kB / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.171, allocations: 4 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1713, allocations: 27.94 kB / 0.5598 GB, free: 2.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002393/0.1737, allocations: 1.156 MB / 0.561 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.1741, allocations: 123.9 kB / 0.5611 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1741, allocations: 4 kB / 0.5611 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.1743, allocations: 63.89 kB / 0.5611 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1747, allocations: 25.05 kB / 0.5612 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.1775, allocations: 1.991 MB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.178, allocations: 0.7197 MB / 0.5638 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1781, allocations: 36.52 kB / 0.5638 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.1782, allocations: 43.42 kB / 0.5639 GB, free: 14.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1782, allocations: 0 / 0.5639 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.1995, allocations: 3.688 MB / 0.5675 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.634, allocations: 18.69 kB / 0.5675 GB, free: 10.43 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.815701465005986]