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.001936/0.001936, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002644/0.002644, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2477/0.2477, allocations: 44.91 MB / 358.8 MB, free: 6.297 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.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: 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.002059/0.002059, allocations: 59.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3152, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003646/0.3189, allocations: 2.054 MB / 0.559 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3208, allocations: 1.041 MB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3209, allocations: 0 / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.3215, allocations: 267.1 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.322, allocations: 259.1 kB / 0.5606 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3233, allocations: 493.8 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.3239, allocations: 334.9 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.3241, allocations: 50.72 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3243, allocations: 151.3 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.3246, allocations: 231.2 kB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.3246, allocations: 12 kB / 0.5618 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.3249, allocations: 99.89 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.325, allocations: 99.59 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3251, allocations: 123 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3256, allocations: 362.2 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3256, allocations: 0 / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3256, allocations: 0 / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3256, allocations: 4 kB / 0.5624 GB, free: 2.246 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009373/0.3266, allocations: 0.6282 MB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3266, allocations: 8.031 kB / 0.5631 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.3267, allocations: 46.69 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.3268, allocations: 48.61 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.3272, allocations: 276.6 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3272, allocations: 8.375 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3272, allocations: 12.38 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.3275, allocations: 109.5 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3275, allocations: 4 kB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3275, allocations: 4 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3275, allocations: 0 / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3277, allocations: 79.83 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.3285, allocations: 479.4 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3287, allocations: 90.53 kB / 0.5642 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3289, allocations: 36.78 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3289, allocations: 3.984 kB / 0.5642 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3289, allocations: 38.5 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3289, allocations: 4 kB / 0.5642 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009824/0.3299, allocations: 396.6 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.33, allocations: 55.41 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.3307, allocations: 0.5877 MB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.3307, allocations: 29.7 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3309, allocations: 208.4 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3309, allocations: 63.47 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.331, allocations: 33.7 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3312, allocations: 358.8 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3313, allocations: 51.98 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3314, allocations: 47.97 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.3317, allocations: 131.2 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3317, allocations: 0 / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003596/0.332, allocations: 197.3 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.332, allocations: 10.19 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.332, allocations: 4 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3321, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3322, allocations: 35.97 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3322, allocations: 3.938 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.3323, allocations: 4 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3323, allocations: 11.98 kB / 0.5664 GB, free: 14 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 (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 0.0001722/0.3325, allocations: 173.8 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.3326, allocations: 39.72 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.3331, allocations: 265.4 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3331, allocations: 0 / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3331, allocations: 0 / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3331, allocations: 7.938 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.3339, allocations: 0.5988 MB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3339, allocations: 3.984 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.334, allocations: 35.98 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.334, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3341, allocations: 8 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3341, allocations: 3.938 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3341, allocations: 0 / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.3345, allocations: 305.2 kB / 0.5678 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.3346, allocations: 47.69 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3346, allocations: 8 kB / 0.5678 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3347, allocations: 7.938 kB / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.3347, allocations: 11.97 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3348, allocations: 12 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.3353, allocations: 439.1 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3356, allocations: 47.94 kB / 0.5683 GB, free: 11.93 MB / 414.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 (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.003416/0.339, allocations: 1.438 MB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.3393, allocations: 134 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3393, allocations: 7.938 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3395, allocations: 71.89 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3401, allocations: 81.81 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.3443, allocations: 3.17 MB / 0.5731 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.3448, allocations: 0.8143 MB / 0.5739 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3449, allocations: 50.23 kB / 0.574 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.3451, allocations: 135.4 kB / 0.5741 GB, free: 6.246 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3451, allocations: 4 kB / 0.5741 GB, free: 6.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.3815, allocations: 7.872 MB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 0 / 0.5818 GB, free: 14.41 MB / 430.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/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: 15.254590259166434]