Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001609/0.001609, 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.00149/0.00149, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.734 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.2343/0.2343, allocations: 46.96 MB / 360.9 MB, free: 3.984 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.89 kB / 0.4961 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 66.05 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003113/0.3187, allocations: 1.637 MB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3197, allocations: 0.5543 MB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.3198, allocations: 0 / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.3204, allocations: 463.1 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.3208, allocations: 295.3 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.3212, allocations: 167.3 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3215, allocations: 183.6 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3216, allocations: 9.828 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3217, allocations: 115.8 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.322, allocations: 251.4 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.322, allocations: 4 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.3221, allocations: 31.98 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3222, allocations: 87.67 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.3223, allocations: 67.25 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3226, allocations: 274.6 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3226, allocations: 4 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3226, allocations: 0 / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3226, allocations: 0 / 0.5646 GB, free: 76 kB / 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.0007999/0.3234, allocations: 0.5933 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3235, allocations: 8.031 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3235, allocations: 34.75 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.3236, allocations: 48.64 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3239, allocations: 246.8 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3239, allocations: 4.375 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3239, allocations: 4.375 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3241, allocations: 61.61 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3241, allocations: 3.938 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3241, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3241, allocations: 7.984 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3242, allocations: 23.98 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3248, allocations: 367.7 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.325, allocations: 46.5 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.325, allocations: 24.88 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3251, allocations: 7.938 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3251, allocations: 30.56 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3251, allocations: 0 / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006364/0.3257, allocations: 244.7 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3258, allocations: 55.41 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.3267, allocations: 0.8815 MB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3267, allocations: 25.7 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3269, allocations: 224.1 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3269, allocations: 27.78 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3269, allocations: 13.72 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3271, allocations: 362.8 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.3272, allocations: 23.97 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.3272, allocations: 19.98 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3274, allocations: 57.02 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3274, allocations: 0 / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002282/0.3276, allocations: 129.3 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3276, allocations: 8 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3276, allocations: 0 / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3277, allocations: 0 / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.3277, allocations: 11.98 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3277, allocations: 0 / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.3278, allocations: 7.938 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3278, allocations: 4 kB / 0.5681 GB, free: 12.3 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 (5): * Single equations (assignments): 5 * 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.0002004/0.328, allocations: 213.8 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3281, allocations: 51.67 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.3284, allocations: 141.2 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3284, allocations: 4 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3284, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3284, allocations: 3.938 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.329, allocations: 433.6 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.329, allocations: 3.938 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.329, allocations: 15.98 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.329, allocations: 288 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.329, allocations: 7.938 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.329, allocations: 0 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.329, allocations: 4.125 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3293, allocations: 227.2 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3294, allocations: 31.72 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3294, allocations: 15.92 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.3295, allocations: 0 / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.3295, allocations: 8 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3295, allocations: 7.922 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006719/0.3302, allocations: 0.6589 MB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3302, allocations: 0 / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3305, allocations: 39.81 kB / 0.5699 GB, free: 10.38 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 (5): * Single equations (assignments): 5 * 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.002045/0.3325, allocations: 1.076 MB / 0.571 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3327, allocations: 55.91 kB / 0.571 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3327, allocations: 0 / 0.571 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.3328, allocations: 27.97 kB / 0.571 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3332, allocations: 31.88 kB / 0.5711 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.337, allocations: 3.287 MB / 0.5743 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3373, allocations: 224.1 kB / 0.5745 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.3373, allocations: 20.58 kB / 0.5745 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3375, allocations: 119.4 kB / 0.5746 GB, free: 5.594 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3375, allocations: 0 / 0.5746 GB, free: 5.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.3721, allocations: 6.621 MB / 0.5811 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 8.625 kB / 0.5811 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.484139158856124]