Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0014/0.0014, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001501/0.001501, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 75.88 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003707/0.3108, allocations: 1.973 MB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3128, allocations: 0.9867 MB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3129, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.3134, allocations: 255.1 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.3139, allocations: 267.1 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.315, allocations: 0.49 MB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.3155, allocations: 338.8 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3157, allocations: 46.73 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3159, allocations: 155.3 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3161, allocations: 215.2 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.3162, allocations: 15.94 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3164, allocations: 104 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3165, allocations: 91.61 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3166, allocations: 95.17 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.3172, allocations: 366.2 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3172, allocations: 0 / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3172, allocations: 0 / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3172, allocations: 4 kB / 0.5658 GB, free: 14.86 MB / 414.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.001045/0.3182, allocations: 0.6281 MB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3183, allocations: 8.031 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.3184, allocations: 42.73 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3185, allocations: 48.61 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3189, allocations: 276.6 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3189, allocations: 8.375 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.319, allocations: 12.38 kB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3192, allocations: 105.6 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3192, allocations: 4 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3193, allocations: 8 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3193, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3194, allocations: 75.83 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.3202, allocations: 451.5 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3204, allocations: 90.53 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.3205, allocations: 28.84 kB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.3205, allocations: 8.156 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3205, allocations: 46.44 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3205, allocations: 4 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001034/0.3216, allocations: 388.4 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3216, allocations: 59.39 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/0.3223, allocations: 0.5838 MB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.3224, allocations: 29.7 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.3226, allocations: 220.4 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.3227, allocations: 51.48 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.3228, allocations: 41.7 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3229, allocations: 350.8 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3231, allocations: 51.97 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3232, allocations: 54.41 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3234, allocations: 124.7 kB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3234, allocations: 4 kB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003581/0.3238, allocations: 207.7 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3238, allocations: 8 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3238, allocations: 0 / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3238, allocations: 3.984 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.324, allocations: 35.97 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.324, allocations: 0 / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.324, allocations: 12 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3241, allocations: 7.938 kB / 0.5698 GB, free: 10.64 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.0001895/0.3242, allocations: 177.7 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.3243, allocations: 43.72 kB / 0.57 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.3248, allocations: 245.5 kB / 0.5702 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.3248, allocations: 4 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3249, allocations: 3.938 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3249, allocations: 3.984 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.3258, allocations: 0.5892 MB / 0.5708 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3258, allocations: 0 / 0.5708 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3259, allocations: 31.97 kB / 0.5708 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3259, allocations: 8 kB / 0.5708 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3259, allocations: 0 / 0.5708 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.3259, allocations: 7.938 kB / 0.5708 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3259, allocations: 0 / 0.5708 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.3264, allocations: 299.2 kB / 0.5711 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.3264, allocations: 43.69 kB / 0.5712 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3265, allocations: 8 kB / 0.5712 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3266, allocations: 11.94 kB / 0.5712 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3266, allocations: 11.97 kB / 0.5712 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3266, allocations: 8 kB / 0.5712 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005083/0.3271, allocations: 443.1 kB / 0.5716 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3271, allocations: 3.938 kB / 0.5716 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.3274, allocations: 47.94 kB / 0.5717 GB, free: 8.602 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.003624/0.3311, allocations: 1.486 MB / 0.5731 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3314, allocations: 131.8 kB / 0.5733 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3314, allocations: 0 / 0.5733 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3315, allocations: 66.72 kB / 0.5733 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.3321, allocations: 86.3 kB / 0.5734 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.3365, allocations: 3.163 MB / 0.5765 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3367, allocations: 208.2 kB / 0.5767 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.3369, allocations: 58.22 kB / 0.5767 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3371, allocations: 135.4 kB / 0.5769 GB, free: 3.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3371, allocations: 0 / 0.5769 GB, free: 3.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.3747, allocations: 8.331 MB / 0.585 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.62, allocations: 4 kB / 0.585 GB, free: 11.21 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.627414050046355]