Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001799/0.001799, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002435/0.002435, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2237/0.2237, allocations: 44.92 MB / 358.8 MB, free: 6.027 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.002072/0.002072, allocations: 79.86 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3047, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00299/0.3077, allocations: 1.603 MB / 0.5586 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3088, allocations: 0.5271 MB / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.3088, allocations: 0 / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.3091, allocations: 75.7 kB / 0.5591 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.3094, allocations: 107.6 kB / 0.5592 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3097, allocations: 91.75 kB / 0.5593 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3098, allocations: 79.77 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3099, allocations: 21.8 kB / 0.5594 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.31, allocations: 35.84 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3101, allocations: 63.75 kB / 0.5595 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3101, allocations: 4 kB / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3103, allocations: 43.98 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.3103, allocations: 23.91 kB / 0.5596 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.3104, allocations: 23.81 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3106, allocations: 111.5 kB / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3106, allocations: 0 / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3106, allocations: 0 / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3106, allocations: 0 / 0.5597 GB, free: 4.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005106/0.3111, allocations: 341.5 kB / 0.56 GB, free: 4.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3111, allocations: 16.02 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.3112, allocations: 34.75 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3112, allocations: 20.84 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3114, allocations: 143 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3114, allocations: 4.375 kB / 0.5603 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3114, allocations: 384 / 0.5603 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3116, allocations: 57.61 kB / 0.5603 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3116, allocations: 4 kB / 0.5603 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3116, allocations: 3.984 kB / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3116, allocations: 0 / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3117, allocations: 35.91 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3121, allocations: 251.9 kB / 0.5606 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3122, allocations: 42.56 kB / 0.5606 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.3122, allocations: 16.94 kB / 0.5606 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3123, allocations: 3.938 kB / 0.5607 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3123, allocations: 38.56 kB / 0.5607 GB, free: 3.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3123, allocations: 0 / 0.5607 GB, free: 3.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008753/0.3132, allocations: 229.2 kB / 0.5609 GB, free: 3.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3132, allocations: 51.41 kB / 0.561 GB, free: 3.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3135, allocations: 214.2 kB / 0.5612 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3135, allocations: 29.7 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3136, allocations: 112 kB / 0.5613 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3136, allocations: 27.73 kB / 0.5613 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3136, allocations: 29.66 kB / 0.5614 GB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3138, allocations: 326.8 kB / 0.5617 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.3139, allocations: 23.98 kB / 0.5617 GB, free: 2.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.3139, allocations: 27.97 kB / 0.5617 GB, free: 2.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3141, allocations: 64.77 kB / 0.5618 GB, free: 2.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3141, allocations: 0 / 0.5618 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.3143, allocations: 93.62 kB / 0.5619 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3143, allocations: 4 kB / 0.5619 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.3144, allocations: 4 kB / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3144, allocations: 4 kB / 0.5619 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3145, allocations: 15.98 kB / 0.5619 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3145, allocations: 3.938 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.3145, allocations: 11.98 kB / 0.5619 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.3145, allocations: 4 kB / 0.5619 GB, free: 2.27 MB / 398.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.0001055/0.3146, allocations: 121.8 kB / 0.562 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3147, allocations: 19.91 kB / 0.562 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.315, allocations: 119 kB / 0.5622 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.315, allocations: 0 / 0.5622 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.315, allocations: 3.938 kB / 0.5622 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.315, allocations: 3.984 kB / 0.5622 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.3155, allocations: 366.8 kB / 0.5625 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.3156, allocations: 8 kB / 0.5625 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.3156, allocations: 19.92 kB / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3156, allocations: 3.938 kB / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3156, allocations: 8.031 kB / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3156, allocations: 0 / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3156, allocations: 0 / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.3159, allocations: 204.4 kB / 0.5627 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.3159, allocations: 16.27 kB / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.316, allocations: 4 kB / 0.5628 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.316, allocations: 3.984 kB / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3161, allocations: 4 kB / 0.5628 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3161, allocations: 11.98 kB / 0.5628 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3162, allocations: 172.2 kB / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3165, allocations: 23.88 kB / 0.563 GB, free: 1.082 MB / 398.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.002311/0.3188, allocations: 1.127 MB / 0.5641 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.319, allocations: 67.88 kB / 0.5641 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.319, allocations: 0 / 0.5641 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.3191, allocations: 31.92 kB / 0.5642 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3195, allocations: 19.98 kB / 0.5642 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3215, allocations: 1.677 MB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.3216, allocations: 92.75 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.3217, allocations: 16.95 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.3218, allocations: 39.42 kB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3218, allocations: 0 / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3503, allocations: 3.671 MB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.64, allocations: 2.406 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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: 14.680509821046144]