Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.0008331/0.0008331, 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.0009617/0.0009617, 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.9/0.9, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2333/0.2333, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.202e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002813/0.002835, allocations: 1.983 MB / 441.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004321, allocations: 0.9965 MB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.004479, allocations: 0 / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.004907, allocations: 255.1 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.005337, allocations: 274.8 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.006116, allocations: 489.6 kB / 443.6 MB, free: 248 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1697/0.1758, allocations: 328.6 kB / 443.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.176, allocations: 49.28 kB / 443.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1762, allocations: 184.2 kB / 444.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1764, allocations: 193.4 kB / 444.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1764, allocations: 11.75 kB / 444.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1766, allocations: 104.1 kB / 444.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.1767, allocations: 102.9 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.1767, allocations: 60.48 kB / 444.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.177, allocations: 343.8 kB / 444.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.177, allocations: 0 / 444.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.177, allocations: 0 / 444.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.177, allocations: 3.281 kB / 444.9 MB, free: 43.49 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004922/0.1775, allocations: 0.6261 MB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1775, allocations: 11.81 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.1776, allocations: 43.41 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.1776, allocations: 46.84 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1778, allocations: 279.4 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.1778, allocations: 7.062 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1779, allocations: 10.59 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.178, allocations: 104.3 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.178, allocations: 3.812 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.178, allocations: 10.91 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.178, allocations: 0 / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.1781, allocations: 71.17 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.1785, allocations: 469.6 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1786, allocations: 85.52 kB / 446.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.1787, allocations: 31.61 kB / 446.7 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1787, allocations: 6.5 kB / 446.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.1787, allocations: 34.5 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1787, allocations: 0 / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000558/0.1793, allocations: 405.4 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.1793, allocations: 53.97 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.1796, allocations: 0.5877 MB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.1796, allocations: 31.64 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1797, allocations: 213.9 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1797, allocations: 61.59 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1798, allocations: 35.7 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.1798, allocations: 360.3 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.1799, allocations: 49.56 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.1799, allocations: 55.97 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1801, allocations: 119.1 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1801, allocations: 0 / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00019/0.1802, allocations: 211.3 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1803, allocations: 6.125 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1803, allocations: 0 / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1803, allocations: 4.062 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.1804, allocations: 31.31 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1804, allocations: 10.19 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.1804, allocations: 12.45 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1804, allocations: 2.781 kB / 449 MB, free: 41.57 MB / 410.7 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 (17): * Single equations (assignments): 17 * 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 9.185e-05/0.1805, allocations: 175.4 kB / 449.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.1806, allocations: 47.78 kB / 449.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1808, allocations: 246.2 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1808, allocations: 0 / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1808, allocations: 2.75 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1808, allocations: 7.422 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.1813, allocations: 0.5802 MB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1813, allocations: 4 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1813, allocations: 32.19 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1813, allocations: 0 / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1813, allocations: 8.938 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1813, allocations: 0 / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1813, allocations: 3.562 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1815, allocations: 309.7 kB / 450.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.1816, allocations: 42.08 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1816, allocations: 10.03 kB / 450.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.1816, allocations: 15.8 kB / 450.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.1817, allocations: 9.438 kB / 450.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1817, allocations: 9.719 kB / 450.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002372/0.1819, allocations: 445.5 kB / 450.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1819, allocations: 0 / 450.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.1821, allocations: 48.84 kB / 450.9 MB, free: 40.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001336/0.1834, allocations: 1.495 MB / 452.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1836, allocations: 126.2 kB / 452.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1836, allocations: 0 / 452.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.1837, allocations: 70.94 kB / 452.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.184, allocations: 82.72 kB / 452.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.186, allocations: 3.191 MB / 455.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.1862, allocations: 217.2 kB / 456.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.033e-05/0.1862, allocations: 52.53 kB / 456.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.1863, allocations: 138.7 kB / 456.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1863, allocations: 0 / 456.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.2035, allocations: 8.465 MB / 464.7 MB, free: 35.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/6.984, allocations: 6.281 kB / 464.7 MB, free: 35.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 8.98379553295672]