Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001756/0.001756, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002232/0.002232, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2327/0.2327, allocations: 44.91 MB / 359.6 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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.002029/0.002029, allocations: 63.91 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3045, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003792/0.3083, allocations: 1.672 MB / 0.5594 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3095, allocations: 0.7672 MB / 0.5602 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3096, allocations: 4 kB / 0.5602 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3098, allocations: 27.84 kB / 0.5602 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.31, allocations: 48.8 kB / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.3101, allocations: 0 / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.3102, allocations: 31.89 kB / 0.5603 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.3103, allocations: 3.797 kB / 0.5603 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.3103, allocations: 11.94 kB / 0.5603 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3104, allocations: 23.84 kB / 0.5603 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-06/0.3104, allocations: 0 / 0.5603 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.3104, allocations: 12 kB / 0.5603 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.3105, allocations: 15.92 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.3105, allocations: 23.81 kB / 0.5604 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3107, allocations: 73.64 kB / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3107, allocations: 0 / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3107, allocations: 0 / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3107, allocations: 0 / 0.5604 GB, free: 5.094 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000411/0.3111, allocations: 290 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3111, allocations: 8.031 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.3112, allocations: 8.188 kB / 0.5607 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.3112, allocations: 38.67 kB / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3112, allocations: 8.891 kB / 0.5608 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3114, allocations: 122.4 kB / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.3114, allocations: 384 / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3114, allocations: 4.375 kB / 0.5609 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3116, allocations: 127.1 kB / 0.561 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3116, allocations: 0 / 0.561 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3116, allocations: 0 / 0.561 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.3117, allocations: 27.98 kB / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3118, allocations: 47.84 kB / 0.5611 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.3126, allocations: 0.8586 MB / 0.5619 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3127, allocations: 169.1 kB / 0.5621 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3127, allocations: 80.14 kB / 0.5622 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.3128, allocations: 79.28 kB / 0.5622 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.3128, allocations: 117.8 kB / 0.5624 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3128, allocations: 0 / 0.5624 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.313, allocations: 41.64 kB / 0.5624 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.313, allocations: 126.7 kB / 0.5625 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3133, allocations: 182.1 kB / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3133, allocations: 25.7 kB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3134, allocations: 155.5 kB / 0.5629 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.3134, allocations: 4 kB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.3135, allocations: 53.59 kB / 0.5629 GB, free: 2.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3136, allocations: 318.8 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.3137, allocations: 35.97 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3139, allocations: 157.1 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3141, allocations: 196.9 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3141, allocations: 8 kB / 0.5636 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003182/0.3144, allocations: 205.5 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3144, allocations: 12.11 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3145, allocations: 4 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3145, allocations: 11.98 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3146, allocations: 35.92 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3146, allocations: 8 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.3147, allocations: 19.83 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3147, allocations: 12 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001419/0.3149, allocations: 216.9 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3149, allocations: 116.9 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.315, allocations: 124.6 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.3151, allocations: 176.3 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.79e-05/0.3152, allocations: 180.3 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-05/0.3153, allocations: 180.3 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.3156, allocations: 408.2 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/0.3156, allocations: 101 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3157, allocations: 101 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/0.3158, allocations: 188.2 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.3159, allocations: 184.2 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.4e-05/0.3159, allocations: 180.2 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-05/0.316, allocations: 180.3 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.3162, allocations: 319.6 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.3162, allocations: 108.9 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.3163, allocations: 184.2 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.3164, allocations: 101 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3165, allocations: 180.3 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.3166, allocations: 108.9 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3167, allocations: 132.1 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 3.938 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.317, allocations: 16 kB / 0.5672 GB, free: 13.57 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 (0): * Single equations (assignments): 0 * 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.001048/0.318, allocations: 0.9143 MB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3182, allocations: 72.72 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3182, allocations: 0 / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.3182, allocations: 8.25 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3186, allocations: 459.7 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3204, allocations: 1.884 MB / 0.5705 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3208, allocations: 0.7006 MB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.321, allocations: 49.02 kB / 0.5712 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.321, allocations: 27.42 kB / 0.5712 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.321, allocations: 4 kB / 0.5712 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.3435, allocations: 2.388 MB / 0.5736 GB, free: 6.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.68, allocations: 10.56 kB / 0.5736 GB, free: 6.941 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.835206658986863]