Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0007441/0.0007441, 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.0007526/0.0007526, allocations: 170.3 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.9232/0.9232, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2681/0.2681, 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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.021e-05, allocations: 4.531 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002178/0.002199, allocations: 1.669 MB / 441.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.00296, allocations: 0.5762 MB / 441.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.003027, allocations: 0 / 441.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.003273, allocations: 51.8 kB / 441.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.003554, allocations: 103.5 kB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.003898, allocations: 185.9 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.004063, allocations: 99.67 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.004159, allocations: 8.234 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.004226, allocations: 51.88 kB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.004312, allocations: 43.89 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004325, allocations: 4 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.004412, allocations: 51.91 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.004469, allocations: 27.86 kB / 442.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.004501, allocations: 19.92 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.00467, allocations: 127.5 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004672, allocations: 0 / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004673, allocations: 0 / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.004677, allocations: 0 / 442.6 MB, free: 1.219 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004349/0.005112, allocations: 353.5 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.005153, allocations: 8.031 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.005182, allocations: 30.75 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.005212, allocations: 16.84 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.005358, allocations: 146.3 kB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005369, allocations: 4.375 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.005388, allocations: 4.375 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.005528, allocations: 74.16 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.005541, allocations: 4.141 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005551, allocations: 7.938 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005555, allocations: 0 / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.005637, allocations: 39.97 kB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.005973, allocations: 287.8 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.006153, allocations: 62.55 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.006194, allocations: 24.97 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.006213, allocations: 0 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.00623, allocations: 42.48 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006231, allocations: 0 / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.1962/0.2024, allocations: 425.1 kB / 444.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.2024, allocations: 51.41 kB / 444.2 MB, free: 46.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2025, allocations: 197.3 kB / 444.3 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.2025, allocations: 30.2 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.2026, allocations: 108.2 kB / 444.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.2026, allocations: 39.59 kB / 444.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.2026, allocations: 22.41 kB / 444.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.2027, allocations: 330.5 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.2028, allocations: 51.47 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.2028, allocations: 61.66 kB / 445 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.203, allocations: 128 kB / 445.1 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.203, allocations: 0 / 445.1 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001744/0.2031, allocations: 173.3 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2032, allocations: 5.781 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2032, allocations: 0 / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2032, allocations: 3.188 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.2032, allocations: 26.81 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2033, allocations: 3.203 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.2033, allocations: 9.984 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2033, allocations: 6.031 kB / 445.3 MB, free: 45.83 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 (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 6.3e-05/0.2034, allocations: 137.4 kB / 445.5 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.2034, allocations: 13.56 kB / 445.5 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.2036, allocations: 191.9 kB / 445.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2036, allocations: 5.781 kB / 445.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2036, allocations: 4.938 kB / 445.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2036, allocations: 3.281 kB / 445.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.204, allocations: 465.8 kB / 446.1 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.204, allocations: 2.875 kB / 446.1 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.2041, allocations: 25.84 kB / 446.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2041, allocations: 6 kB / 446.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2041, allocations: 6.25 kB / 446.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2041, allocations: 3.125 kB / 446.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.2041, allocations: 6.25 kB / 446.2 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.2043, allocations: 273.8 kB / 446.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.2043, allocations: 24.31 kB / 446.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2043, allocations: 2.656 kB / 446.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.2043, allocations: 12.73 kB / 446.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2044, allocations: 16.81 kB / 446.5 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2044, allocations: 5.625 kB / 446.5 MB, free: 45.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.142e-05/0.2044, allocations: 150.3 kB / 446.7 MB, free: 45.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2044, allocations: 0 / 446.7 MB, free: 45.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.2046, allocations: 29.05 kB / 446.7 MB, free: 45.01 MB / 410.7 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.0009795/0.2056, allocations: 1.182 MB / 447.9 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2058, allocations: 128.5 kB / 448 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2058, allocations: 0 / 448 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.2059, allocations: 66.34 kB / 448.1 MB, free: 44.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2062, allocations: 19.25 kB / 448.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2075, allocations: 1.931 MB / 450 MB, free: 42.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.2076, allocations: 109.7 kB / 450.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.2076, allocations: 37 kB / 450.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2077, allocations: 39.58 kB / 450.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2077, allocations: 0 / 450.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.2237, allocations: 4.24 MB / 454.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/6.901, allocations: 5.969 kB / 454.4 MB, free: 41.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.919865363277495]