Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001279/0.001279, 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.002878/0.002878, 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.589/1.589, 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.2234/0.2234, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 0.4916 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003195/0.1616, allocations: 1.659 MB / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1627, allocations: 0.5416 MB / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.1628, allocations: 4 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1631, allocations: 43.77 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1634, allocations: 83.61 kB / 0.5584 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1637, allocations: 91.75 kB / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1639, allocations: 87.75 kB / 0.5585 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.164, allocations: 19.98 kB / 0.5586 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.1641, allocations: 31.86 kB / 0.5586 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1642, allocations: 47.7 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1642, allocations: 4 kB / 0.5586 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1643, allocations: 51.98 kB / 0.5587 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1644, allocations: 15.92 kB / 0.5587 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1644, allocations: 35.8 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1647, allocations: 107.5 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1647, allocations: 0 / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1647, allocations: 0 / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1647, allocations: 3.938 kB / 0.5588 GB, free: 2.988 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.0005923/0.1653, allocations: 410.8 kB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1653, allocations: 12.03 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/0.1653, allocations: 8.188 kB / 0.5592 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.1654, allocations: 34.69 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.1654, allocations: 16.84 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1657, allocations: 200.2 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1657, allocations: 4.375 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.1657, allocations: 12.11 kB / 0.5595 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1659, allocations: 73.55 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1659, allocations: 0 / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1659, allocations: 4 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1659, allocations: 8 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1661, allocations: 35.97 kB / 0.5596 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1665, allocations: 320.7 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1667, allocations: 62.48 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.1667, allocations: 20.86 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1668, allocations: 7.984 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1668, allocations: 34.56 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1668, allocations: 0 / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001124/0.1679, allocations: 308.7 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.168, allocations: 51.41 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1682, allocations: 161.8 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1682, allocations: 25.7 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.1683, allocations: 108.2 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1683, allocations: 47.53 kB / 0.5607 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1684, allocations: 29.7 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.1686, allocations: 326.8 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.1687, allocations: 31.98 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.1688, allocations: 43.98 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.169, allocations: 84.83 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.169, allocations: 0 / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002802/0.1692, allocations: 133.5 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1693, allocations: 13.88 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1693, allocations: 0 / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1693, allocations: 0 / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1694, allocations: 23.98 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1694, allocations: 0 / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.1695, allocations: 11.98 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1695, allocations: 4 kB / 0.5614 GB, free: 148 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 (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.0001214/0.1696, allocations: 128 kB / 0.5615 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.1697, allocations: 16.05 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.1701, allocations: 166.3 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1701, allocations: 0 / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1701, allocations: 4 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1701, allocations: 3.984 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.1708, allocations: 467 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1708, allocations: 12.02 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.1709, allocations: 27.92 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1709, allocations: 0 / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1709, allocations: 8 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1709, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1709, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.1713, allocations: 244.2 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.1714, allocations: 93 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1714, allocations: 4 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1714, allocations: 3.938 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1715, allocations: 15.98 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.1715, allocations: 4 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1716, allocations: 130.4 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1719, allocations: 23.98 kB / 0.5627 GB, free: 14.71 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.002358/0.1743, allocations: 1.122 MB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1745, allocations: 90.81 kB / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1745, allocations: 0 / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1746, allocations: 47.92 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.175, allocations: 27.98 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1773, allocations: 1.68 MB / 0.5656 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1776, allocations: 0.7118 MB / 0.5663 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.1777, allocations: 20.53 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.1777, allocations: 35.42 kB / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1777, allocations: 0 / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.1959, allocations: 3.252 MB / 0.5695 GB, free: 7.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.609, allocations: 5 kB / 0.5695 GB, free: 7.82 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.897317082970403]