Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009924/0.0009924, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001018/0.001018, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8911/0.8911, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2385/0.2385, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.145e-05, allocations: 4.531 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002534/0.002556, allocations: 1.969 MB / 441.6 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.004043, allocations: 1.207 MB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004144, allocations: 4 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.004351, allocations: 47.56 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.004731, allocations: 215 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.00526, allocations: 436.6 kB / 443.5 MB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.00551, allocations: 315 kB / 443.8 MB, free: 64 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.005647, allocations: 40.91 kB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.164/0.1696, allocations: 165.9 kB / 444 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1698, allocations: 173.7 kB / 444.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1698, allocations: 11.66 kB / 444.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.17, allocations: 66.75 kB / 444.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1701, allocations: 142.7 kB / 444.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.1701, allocations: 93.08 kB / 444.4 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1705, allocations: 386.8 kB / 444.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1705, allocations: 2.969 kB / 444.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1705, allocations: 1.5 kB / 444.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1705, allocations: 0 / 444.8 MB, free: 43.38 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.0005758/0.171, allocations: 0.7367 MB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1711, allocations: 10.75 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.1711, allocations: 40.84 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1713, allocations: 81.5 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1716, allocations: 414.8 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1717, allocations: 6.625 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1717, allocations: 16.97 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1718, allocations: 132.9 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1718, allocations: 4.781 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1719, allocations: 7.125 kB / 446.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1719, allocations: 2.812 kB / 446.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.172, allocations: 77.7 kB / 446.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1725, allocations: 0.6284 MB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1726, allocations: 108.3 kB / 447.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.1726, allocations: 39.09 kB / 447.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1726, allocations: 2.719 kB / 447.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.1727, allocations: 40.42 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1727, allocations: 0 / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007277/0.1734, allocations: 0.5368 MB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1734, allocations: 86.48 kB / 447.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.1739, allocations: 0.9165 MB / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.1739, allocations: 29.33 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1741, allocations: 270.1 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1741, allocations: 53.75 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1741, allocations: 32.84 kB / 449.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.1742, allocations: 375 kB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.1743, allocations: 58.41 kB / 449.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.1743, allocations: 75.3 kB / 449.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1745, allocations: 138.9 kB / 449.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1745, allocations: 0 / 449.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002317/0.1747, allocations: 231.2 kB / 449.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1747, allocations: 5.844 kB / 449.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1748, allocations: 0 / 449.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1748, allocations: 10.12 kB / 449.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1749, allocations: 41.55 kB / 450 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1749, allocations: 0 / 450 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1749, allocations: 11.95 kB / 450 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.175, allocations: 9.031 kB / 450 MB, free: 41.08 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.0001064/0.1751, allocations: 212.9 kB / 450.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1751, allocations: 63.12 kB / 450.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1754, allocations: 271.7 kB / 450.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1754, allocations: 6.938 kB / 450.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1754, allocations: 0 / 450.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1754, allocations: 3.469 kB / 450.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.176, allocations: 0.7219 MB / 451.3 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.176, allocations: 0 / 451.3 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.176, allocations: 42.19 kB / 451.3 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.176, allocations: 0 / 451.3 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1761, allocations: 6.844 kB / 451.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1761, allocations: 0 / 451.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1761, allocations: 0 / 451.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1763, allocations: 417.1 kB / 451.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1764, allocations: 72.77 kB / 451.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1764, allocations: 7.375 kB / 451.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.1765, allocations: 14.98 kB / 451.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1765, allocations: 20.38 kB / 451.8 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1765, allocations: 8.031 kB / 451.8 MB, free: 40.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.1769, allocations: 0.6787 MB / 452.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1769, allocations: 0 / 452.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.1771, allocations: 51.59 kB / 452.6 MB, free: 39.78 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.000934/0.1781, allocations: 1.266 MB / 453.8 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1783, allocations: 148.3 kB / 454 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1783, allocations: 0 / 454 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.1784, allocations: 73.5 kB / 454.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1788, allocations: 75.5 kB / 454.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.1822, allocations: 5.128 MB / 459.3 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.1823, allocations: 255.2 kB / 459.5 MB, free: 36.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1824, allocations: 77.92 kB / 459.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1826, allocations: 185.3 kB / 459.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1826, allocations: 0 / 459.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2039, allocations: 10.84 MB / 470.6 MB, free: 34.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.171, allocations: 6.812 kB / 470.6 MB, free: 34.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.18398589361459]