Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009805/0.0009805, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001026/0.001026, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8805/0.8805, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2307/0.2307, allocations: 32.8 MB / 293.5 MB, free: 1.219 MB / 266.7 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.05e-05, allocations: 4.672 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002527/0.002548, allocations: 1.972 MB / 441.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.004122, allocations: 1.305 MB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004248, allocations: 4 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.004491, allocations: 63.48 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.004916, allocations: 211 kB / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.00577, allocations: 0.6025 MB / 443.7 MB, free: 72 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1632/0.169, allocations: 331.1 kB / 444.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1691, allocations: 52.64 kB / 444.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1694, allocations: 175.9 kB / 444.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1695, allocations: 171.8 kB / 444.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1696, allocations: 13.97 kB / 444.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1697, allocations: 67.95 kB / 444.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.1698, allocations: 153.1 kB / 444.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.1698, allocations: 89.41 kB / 444.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1701, allocations: 394.4 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1701, allocations: 0 / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1701, allocations: 1.5 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1701, allocations: 6.219 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005744/0.1707, allocations: 0.754 MB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1707, allocations: 8.5 kB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.1708, allocations: 46.34 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1709, allocations: 79.28 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1713, allocations: 424.5 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1713, allocations: 16.27 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1714, allocations: 9.375 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1715, allocations: 151.6 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1715, allocations: 0 / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1716, allocations: 3.938 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1716, allocations: 3.562 kB / 446.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1717, allocations: 94.95 kB / 446.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.1722, allocations: 0.6623 MB / 447.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1723, allocations: 110.2 kB / 447.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.1724, allocations: 49.8 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1724, allocations: 2.812 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.1724, allocations: 36.25 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1724, allocations: 0 / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007674/0.1732, allocations: 0.5684 MB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1732, allocations: 80.05 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.1738, allocations: 0.933 MB / 449.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1738, allocations: 28.48 kB / 449.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1739, allocations: 277 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1739, allocations: 53.3 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1739, allocations: 39.7 kB / 449.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.174, allocations: 308.9 kB / 449.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.1741, allocations: 66.61 kB / 449.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.1742, allocations: 83.41 kB / 450 MB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1743, allocations: 152.6 kB / 450.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1743, allocations: 0 / 450.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002709/0.1746, allocations: 257.5 kB / 450.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1746, allocations: 5.562 kB / 450.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1746, allocations: 3.234 kB / 450.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1746, allocations: 2.656 kB / 450.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1748, allocations: 38.81 kB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1748, allocations: 0.75 kB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.1748, allocations: 15.88 kB / 450.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1749, allocations: 10.28 kB / 450.5 MB, free: 40.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001147/0.175, allocations: 213.6 kB / 450.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.175, allocations: 71.58 kB / 450.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.1753, allocations: 290.7 kB / 451.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1753, allocations: 2.656 kB / 451.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1753, allocations: 7.125 kB / 451.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1753, allocations: 3.234 kB / 451.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1759, allocations: 0.7623 MB / 451.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1759, allocations: 3.031 kB / 451.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.176, allocations: 35.73 kB / 451.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.176, allocations: 3.219 kB / 451.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.176, allocations: 3.094 kB / 451.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.176, allocations: 7.188 kB / 451.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.176, allocations: 3.281 kB / 451.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1763, allocations: 422.6 kB / 452.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1763, allocations: 77.75 kB / 452.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1763, allocations: 7.156 kB / 452.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.1764, allocations: 15.08 kB / 452.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1765, allocations: 13.98 kB / 452.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1765, allocations: 10.44 kB / 452.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004012/0.1769, allocations: 0.6864 MB / 453.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1769, allocations: 0 / 453.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.1771, allocations: 55.59 kB / 453.2 MB, free: 39.57 MB / 410.7 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 (16): * Single equations (assignments): 16 * 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.00101/0.1782, allocations: 1.29 MB / 454.5 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1784, allocations: 161.5 kB / 454.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1784, allocations: 0 / 454.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.1785, allocations: 82.14 kB / 454.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1789, allocations: 83.33 kB / 454.8 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.1827, allocations: 5.26 MB / 460 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.1829, allocations: 275 kB / 460.3 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.183, allocations: 91.23 kB / 460.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.1832, allocations: 179.8 kB / 460.6 MB, free: 36.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1832, allocations: 4 kB / 460.6 MB, free: 36.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.203, allocations: 11.05 MB / 471.6 MB, free: 33.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.142, allocations: 0 / 471.6 MB, free: 33.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 9.126486857421696]