Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001474/0.001474, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.551/1.551, 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.2319/0.2319, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 79.81 kB / 0.4961 GB, free: 8.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 66.01 MB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002602/0.3601, allocations: 1.673 MB / 0.5622 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.3609, allocations: 0.5747 MB / 0.5628 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.361, allocations: 0 / 0.5628 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.3615, allocations: 461.9 kB / 0.5632 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.3619, allocations: 289.5 kB / 0.5635 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3623, allocations: 180.1 kB / 0.5637 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.3626, allocations: 184 kB / 0.5639 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3627, allocations: 16.38 kB / 0.5639 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3628, allocations: 115.4 kB / 0.564 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.363, allocations: 262.4 kB / 0.5642 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3631, allocations: 2.969 kB / 0.5642 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.3632, allocations: 52.61 kB / 0.5643 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.3632, allocations: 83.95 kB / 0.5644 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.3633, allocations: 77.19 kB / 0.5644 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3636, allocations: 297.7 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3636, allocations: 3.812 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.3636, allocations: 0 / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3636, allocations: 2 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006185/0.3642, allocations: 0.6043 MB / 0.5653 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3642, allocations: 12.34 kB / 0.5653 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.3643, allocations: 30.75 kB / 0.5654 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3643, allocations: 44.59 kB / 0.5654 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3645, allocations: 253.4 kB / 0.5656 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3645, allocations: 3.344 kB / 0.5657 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3646, allocations: 8.891 kB / 0.5657 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3647, allocations: 76.22 kB / 0.5657 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3648, allocations: 0 / 0.5657 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3648, allocations: 0.625 kB / 0.5657 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3648, allocations: 3.031 kB / 0.5657 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3649, allocations: 48.69 kB / 0.5658 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.3654, allocations: 384.3 kB / 0.5661 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.3656, allocations: 53.36 kB / 0.5662 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.3657, allocations: 29.3 kB / 0.5662 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3657, allocations: 3.938 kB / 0.5662 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.3657, allocations: 37.78 kB / 0.5663 GB, free: 30.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3657, allocations: 3.719 kB / 0.5663 GB, free: 30.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.3671, allocations: 0.5074 MB / 0.5668 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.3672, allocations: 54.75 kB / 0.5668 GB, free: 29.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.3678, allocations: 0.8721 MB / 0.5677 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3678, allocations: 28.7 kB / 0.5677 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3679, allocations: 216.1 kB / 0.5679 GB, free: 29.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.368, allocations: 40.7 kB / 0.5679 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.368, allocations: 22.55 kB / 0.568 GB, free: 29.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.3681, allocations: 368.6 kB / 0.5683 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3682, allocations: 53.19 kB / 0.5684 GB, free: 28.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3683, allocations: 56 kB / 0.5684 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3686, allocations: 130.4 kB / 0.5685 GB, free: 28.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3686, allocations: 0 / 0.5685 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003281/0.3689, allocations: 198 kB / 0.5687 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3689, allocations: 8.25 kB / 0.5687 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3689, allocations: 0.9688 kB / 0.5687 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.369, allocations: 5.062 kB / 0.5687 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3691, allocations: 26.61 kB / 0.5688 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3691, allocations: 1.031 kB / 0.5688 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.3692, allocations: 10.11 kB / 0.5688 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3692, allocations: 2.156 kB / 0.5688 GB, free: 28.81 MB / 446.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 (11): * Single equations (assignments): 11 * 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.000195/0.3694, allocations: 224.6 kB / 0.569 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.3695, allocations: 51.48 kB / 0.569 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.3699, allocations: 227.1 kB / 0.5693 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3699, allocations: 5.188 kB / 0.5693 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3699, allocations: 1.156 kB / 0.5693 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3699, allocations: 0 / 0.5693 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.3708, allocations: 0.5574 MB / 0.5698 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3708, allocations: 1.031 kB / 0.5698 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3709, allocations: 30.97 kB / 0.5698 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3709, allocations: 5.688 kB / 0.5699 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3709, allocations: 2.062 kB / 0.5699 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3709, allocations: 5.219 kB / 0.5699 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3709, allocations: 9.109 kB / 0.5699 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3713, allocations: 310.9 kB / 0.5702 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3714, allocations: 43.42 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3714, allocations: 1.375 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3715, allocations: 10.06 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3716, allocations: 11.5 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3716, allocations: 6.266 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000647/0.3722, allocations: 0.6548 MB / 0.5709 GB, free: 27.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3722, allocations: 1.469 kB / 0.5709 GB, free: 27.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000304/0.3725, allocations: 38.47 kB / 0.5709 GB, free: 27.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002255/0.3748, allocations: 1.234 MB / 0.5721 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3751, allocations: 125.3 kB / 0.5722 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3751, allocations: 0 / 0.5722 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3753, allocations: 64.59 kB / 0.5723 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3758, allocations: 33.3 kB / 0.5723 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.38, allocations: 3.566 MB / 0.5758 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3803, allocations: 235.3 kB / 0.576 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3804, allocations: 36.39 kB / 0.5761 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3805, allocations: 127.3 kB / 0.5762 GB, free: 24.58 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3805, allocations: 0 / 0.5762 GB, free: 24.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.418, allocations: 7.251 MB / 0.5833 GB, free: 22.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.27, allocations: 14.09 kB / 0.5833 GB, free: 22.94 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.46969832002651]