Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 113.4 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 191.7 kB / 20.02 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 227.9 MB, free: 4.344 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3692/0.3692, allocations: 43.52 MB / 320.8 MB, free: 9.023 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003501/0.003501, allocations: 67.91 kB / 450 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3051, allocations: 57.78 MB / 0.4959 GB, free: 19.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002747/0.3079, allocations: 1.611 MB / 0.4975 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005749/0.3085, allocations: 340.5 kB / 0.4978 GB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3086, allocations: 5.219 kB / 0.4978 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3091, allocations: 455 kB / 0.4982 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.3094, allocations: 254.9 kB / 0.4985 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.3098, allocations: 152.3 kB / 0.4986 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.31, allocations: 168.7 kB / 0.4988 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3101, allocations: 24.97 kB / 0.4988 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3103, allocations: 106.5 kB / 0.4989 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.3105, allocations: 206.6 kB / 0.4991 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3105, allocations: 6.25 kB / 0.4991 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.3106, allocations: 32.67 kB / 0.4992 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.3107, allocations: 90.58 kB / 0.4992 GB, free: 17.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.3108, allocations: 102.4 kB / 0.4993 GB, free: 17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3111, allocations: 268.8 kB / 0.4996 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3111, allocations: 0 / 0.4996 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3111, allocations: 1.219 kB / 0.4996 GB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3111, allocations: 0 / 0.4996 GB, free: 16.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005879/0.3117, allocations: 0.6504 MB / 0.5002 GB, free: 16.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3117, allocations: 13.2 kB / 0.5002 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.3118, allocations: 32.22 kB / 0.5003 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3118, allocations: 47.95 kB / 0.5003 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.312, allocations: 298.2 kB / 0.5006 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.3121, allocations: 10.59 kB / 0.5006 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3121, allocations: 6.5 kB / 0.5006 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3122, allocations: 59.69 kB / 0.5007 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3122, allocations: 0 / 0.5007 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3123, allocations: 0 / 0.5007 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3123, allocations: 1.094 kB / 0.5007 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.3124, allocations: 28.69 kB / 0.5007 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.3128, allocations: 404.4 kB / 0.5011 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.313, allocations: 41.34 kB / 0.5011 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.3131, allocations: 20.72 kB / 0.5012 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3131, allocations: 1.031 kB / 0.5012 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.3131, allocations: 31.88 kB / 0.5012 GB, free: 15.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3131, allocations: 0 / 0.5012 GB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006162/0.3137, allocations: 250.7 kB / 0.5014 GB, free: 15.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.3138, allocations: 52.88 kB / 0.5015 GB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008172/0.3146, allocations: 0.8724 MB / 0.5023 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.3146, allocations: 26.61 kB / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3148, allocations: 221.2 kB / 0.5026 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3148, allocations: 14.17 kB / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3148, allocations: 34.45 kB / 0.5026 GB, free: 14.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.3149, allocations: 359.6 kB / 0.5029 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.315, allocations: 20.39 kB / 0.503 GB, free: 14.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.3151, allocations: 25.06 kB / 0.503 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3152, allocations: 51.33 kB / 0.503 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3152, allocations: 0 / 0.503 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002144/0.3155, allocations: 122.3 kB / 0.5032 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3155, allocations: 5.312 kB / 0.5032 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3155, allocations: 0 / 0.5032 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3155, allocations: 1.094 kB / 0.5032 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.3156, allocations: 21.48 kB / 0.5032 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.3156, allocations: 5.031 kB / 0.5032 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.3157, allocations: 10.77 kB / 0.5032 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3157, allocations: 2.094 kB / 0.5032 GB, free: 13.92 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001715/0.3159, allocations: 214.1 kB / 0.5034 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.3159, allocations: 42.88 kB / 0.5034 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3162, allocations: 137.9 kB / 0.5036 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3162, allocations: 1.188 kB / 0.5036 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3163, allocations: 3.938 kB / 0.5036 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3163, allocations: 5.203 kB / 0.5036 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3168, allocations: 476.1 kB / 0.504 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3168, allocations: 0 / 0.504 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3168, allocations: 13.58 kB / 0.5041 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3168, allocations: 3.938 kB / 0.5041 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3169, allocations: 1.344 kB / 0.5041 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3169, allocations: 0 / 0.5041 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3169, allocations: 1.312 kB / 0.5041 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3171, allocations: 224.6 kB / 0.5043 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.3172, allocations: 118.5 kB / 0.5044 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3172, allocations: 5.344 kB / 0.5044 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.3173, allocations: 2.812 kB / 0.5044 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.3174, allocations: 10.8 kB / 0.5044 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3174, allocations: 5.438 kB / 0.5044 GB, free: 12.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.318, allocations: 0.6494 MB / 0.505 GB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.318, allocations: 0 / 0.505 GB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3182, allocations: 26.83 kB / 0.5051 GB, free: 12.58 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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.001656/0.3199, allocations: 1.054 MB / 0.5061 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3201, allocations: 54.7 kB / 0.5062 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3201, allocations: 0 / 0.5062 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.3202, allocations: 25.86 kB / 0.5062 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3206, allocations: 33.09 kB / 0.5062 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.324, allocations: 3.247 MB / 0.5094 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3242, allocations: 0.8283 MB / 0.5102 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.3243, allocations: 17.61 kB / 0.5102 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3244, allocations: 108.9 kB / 0.5103 GB, free: 8.598 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3244, allocations: 0 / 0.5103 GB, free: 8.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3548, allocations: 6.038 MB / 0.5162 GB, free: 4.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.083, allocations: 0 / 0.5162 GB, free: 4.969 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 12.19994150288403]