Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001718/0.001718, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00221/0.00221, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2199/0.2199, allocations: 44.92 MB / 359.6 MB, free: 6.277 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",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.002069/0.002069, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 65.48 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003232/0.3102, allocations: 1.669 MB / 0.5594 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3122, allocations: 1.271 MB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.3122, allocations: 3.938 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.3124, allocations: 19.86 kB / 0.5607 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.3127, allocations: 87.61 kB / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3131, allocations: 139.6 kB / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3132, allocations: 67.78 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.3133, allocations: 17.95 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.3134, allocations: 35.84 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3135, allocations: 35.84 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3135, allocations: 11.92 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3137, allocations: 91.95 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.3138, allocations: 19.91 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.3138, allocations: 39.8 kB / 0.5612 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3141, allocations: 147.4 kB / 0.5614 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3141, allocations: 0 / 0.5614 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3141, allocations: 0 / 0.5614 GB, free: 4.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3141, allocations: 4 kB / 0.5614 GB, free: 4.102 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.000573/0.3147, allocations: 345.6 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3147, allocations: 8.031 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/0.3147, allocations: 4.188 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.3148, allocations: 42.75 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3148, allocations: 8.891 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.315, allocations: 138.3 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.315, allocations: 8.359 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.315, allocations: 8.078 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3152, allocations: 75.38 kB / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3152, allocations: 0 / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3152, allocations: 4 kB / 0.562 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3153, allocations: 4 kB / 0.562 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3154, allocations: 35.95 kB / 0.562 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3158, allocations: 263.8 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3159, allocations: 42.55 kB / 0.5623 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.316, allocations: 32.88 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.316, allocations: 0 / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3161, allocations: 30.56 kB / 0.5624 GB, free: 2.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3161, allocations: 3.938 kB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008177/0.3169, allocations: 217.3 kB / 0.5626 GB, free: 2.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.317, allocations: 81.09 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3172, allocations: 154.1 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3172, allocations: 25.7 kB / 0.5628 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.3173, allocations: 100.1 kB / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3173, allocations: 31.69 kB / 0.563 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.3173, allocations: 17.72 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3175, allocations: 326.8 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3176, allocations: 35.97 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3177, allocations: 41.69 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.318, allocations: 80.83 kB / 0.5634 GB, free: 1.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.318, allocations: 0 / 0.5634 GB, free: 1.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002983/0.3183, allocations: 105.6 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3183, allocations: 8 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3183, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3183, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3184, allocations: 27.92 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3184, allocations: 3.938 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.3185, allocations: 11.98 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3185, allocations: 4 kB / 0.5636 GB, free: 1.605 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 (7): * Single equations (assignments): 7 * 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 9.445e-05/0.3186, allocations: 113.8 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3187, allocations: 7.953 kB / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.319, allocations: 134.5 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.319, allocations: 8 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.319, allocations: 3.938 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.319, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.3196, allocations: 365.6 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3196, allocations: 0 / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.3197, allocations: 19.97 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3197, allocations: 11.94 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3197, allocations: 3.938 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3197, allocations: 4 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3197, allocations: 3.938 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.3201, allocations: 203.5 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.3201, allocations: 15.94 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3201, allocations: 7.938 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3202, allocations: 7.984 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3202, allocations: 4.281 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3203, allocations: 8 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3204, allocations: 121.3 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3204, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3207, allocations: 43.8 kB / 0.5646 GB, free: 464 kB / 398.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 (7): * Single equations (assignments): 7 * 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.002444/0.3231, allocations: 1.148 MB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3235, allocations: 67.94 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3235, allocations: 8 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3236, allocations: 43.91 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.324, allocations: 17.67 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3263, allocations: 1.597 MB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3266, allocations: 0.7001 MB / 0.5681 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.3267, allocations: 12.97 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.3268, allocations: 39.41 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3268, allocations: 0 / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3511, allocations: 3.705 MB / 0.5718 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 7.688 kB / 0.5718 GB, free: 9.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.940795654023532]