Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001318/0.001318, allocations: 123.6 kB / 20.44 MB, free: 1.297 MB / 14.72 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.001603/0.001603, allocations: 212.7 kB / 23.74 MB, free: 4.531 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.2253/0.2253, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003129/0.3027, allocations: 1.688 MB / 0.5587 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3038, allocations: 0.6127 MB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.3039, allocations: 0 / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.3045, allocations: 451.1 kB / 0.5597 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.305, allocations: 299.3 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3054, allocations: 175.3 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.3056, allocations: 183.6 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3057, allocations: 18.05 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3059, allocations: 115.7 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.3062, allocations: 251.4 kB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3062, allocations: 4 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3063, allocations: 55.95 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3064, allocations: 87.64 kB / 0.5609 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3065, allocations: 111 kB / 0.561 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.3069, allocations: 286.5 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3069, allocations: 0 / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3069, allocations: 0 / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3069, allocations: 7.938 kB / 0.5613 GB, free: 3.465 MB / 398.1 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.0008047/0.3077, allocations: 0.597 MB / 0.5618 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3077, allocations: 8.031 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.3078, allocations: 34.75 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.3078, allocations: 44.66 kB / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3082, allocations: 254.7 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.3082, allocations: 384 / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3082, allocations: 4.375 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3084, allocations: 69.55 kB / 0.5622 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3084, allocations: 3.984 kB / 0.5622 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3085, allocations: 0 / 0.5622 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3085, allocations: 4 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3086, allocations: 27.98 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.3091, allocations: 391.7 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3093, allocations: 42.56 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.3093, allocations: 16.94 kB / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3093, allocations: 0 / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3094, allocations: 34.56 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3094, allocations: 4 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001034/0.3104, allocations: 328.9 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3104, allocations: 59.34 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.3113, allocations: 0.8738 MB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3114, allocations: 33.7 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.3115, allocations: 220.1 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3116, allocations: 31.73 kB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3116, allocations: 21.72 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3118, allocations: 362.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.3119, allocations: 31.98 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.312, allocations: 35.89 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3121, allocations: 80.81 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3121, allocations: 0 / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000263/0.3124, allocations: 149.3 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3124, allocations: 4 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3124, allocations: 4 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3124, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3125, allocations: 19.97 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3125, allocations: 4 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.3126, allocations: 11.98 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3126, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0002056/0.3128, allocations: 213.8 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3129, allocations: 47.66 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.3133, allocations: 181.7 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3133, allocations: 11.94 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3133, allocations: 0 / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3133, allocations: 0 / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.314, allocations: 0.4943 MB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.314, allocations: 4 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.3141, allocations: 15.98 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3141, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3141, allocations: 12.03 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3141, allocations: 0 / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3141, allocations: 0 / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.3144, allocations: 255.9 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3145, allocations: 39.67 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.3145, allocations: 4 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.3146, allocations: 11.98 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3146, allocations: 4 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3146, allocations: 7.984 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000664/0.3153, allocations: 0.655 MB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3153, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3156, allocations: 31.98 kB / 0.5669 GB, free: 13.43 MB / 414.1 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 (8): * Single equations (assignments): 8 * 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.002211/0.3178, allocations: 1.141 MB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.318, allocations: 75.88 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.318, allocations: 0 / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.3181, allocations: 35.98 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3185, allocations: 35.2 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.3225, allocations: 3.404 MB / 0.5714 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.323, allocations: 0.8304 MB / 0.5722 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.3231, allocations: 24.41 kB / 0.5723 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3233, allocations: 119.4 kB / 0.5724 GB, free: 7.809 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3233, allocations: 0 / 0.5724 GB, free: 7.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3545, allocations: 6.651 MB / 0.5789 GB, free: 1.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.22, allocations: 64 / 0.5789 GB, free: 1.227 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 15.179214390926063]