Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001741/0.001741, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002153/0.002153, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.474/1.474, 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.2249/0.2249, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3503, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003506/0.3538, allocations: 1.979 MB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3557, allocations: 1.096 MB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.3558, allocations: 3.938 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3563, allocations: 267.1 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.3568, allocations: 275 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3582, allocations: 0.6492 MB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.3587, allocations: 370.7 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.3589, allocations: 54.73 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3591, allocations: 151.4 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.3594, allocations: 239.1 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3594, allocations: 12 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3596, allocations: 104 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.3598, allocations: 103.5 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3599, allocations: 99.16 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.3604, allocations: 378.1 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3604, allocations: 4 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3604, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3604, allocations: 0 / 0.5662 GB, free: 14.49 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.001011/0.3614, allocations: 0.632 MB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.3615, allocations: 12.03 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.3615, allocations: 46.73 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.3617, allocations: 48.59 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.3623, allocations: 284.6 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3623, allocations: 8.375 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.3623, allocations: 12.38 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.3627, allocations: 129.5 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3628, allocations: 3.953 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3628, allocations: 4 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3628, allocations: 4 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3631, allocations: 91.88 kB / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3641, allocations: 471.5 kB / 0.5679 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.3644, allocations: 106.5 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3646, allocations: 36.83 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3646, allocations: 4 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.3646, allocations: 38.5 kB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.013e-06/0.3646, allocations: 0 / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00163/0.3663, allocations: 464.5 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3663, allocations: 51.41 kB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3674, allocations: 0.6034 MB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.3674, allocations: 29.7 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.3677, allocations: 220.3 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.3678, allocations: 67.42 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3679, allocations: 41.7 kB / 0.5695 GB, free: 10.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3681, allocations: 350.8 kB / 0.5698 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3683, allocations: 67.95 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3686, allocations: 70.61 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.3691, allocations: 160.7 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3691, allocations: 0 / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006035/0.3697, allocations: 235.5 kB / 0.5703 GB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3697, allocations: 4 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3697, allocations: 0 / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3697, allocations: 4 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3699, allocations: 35.97 kB / 0.5704 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3699, allocations: 7.984 kB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.37, allocations: 4 kB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.37, allocations: 7.984 kB / 0.5704 GB, free: 9.996 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.0002179/0.3702, allocations: 185.6 kB / 0.5706 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.3703, allocations: 55.66 kB / 0.5706 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005735/0.3709, allocations: 281.7 kB / 0.5709 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3709, allocations: 7.984 kB / 0.5709 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3709, allocations: 0 / 0.5709 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3709, allocations: 0 / 0.5709 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.3719, allocations: 0.6362 MB / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3719, allocations: 0 / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.372, allocations: 39.92 kB / 0.5716 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.372, allocations: 0 / 0.5716 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.372, allocations: 8 kB / 0.5716 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.372, allocations: 3.938 kB / 0.5716 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.372, allocations: 3.984 kB / 0.5716 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.3724, allocations: 327.2 kB / 0.5719 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.3725, allocations: 43.7 kB / 0.5719 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3726, allocations: 8 kB / 0.5719 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3727, allocations: 11.92 kB / 0.5719 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3727, allocations: 11.98 kB / 0.572 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3727, allocations: 8 kB / 0.572 GB, free: 8.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.3732, allocations: 450.8 kB / 0.5724 GB, free: 7.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3732, allocations: 4 kB / 0.5724 GB, free: 7.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3735, allocations: 51.92 kB / 0.5724 GB, free: 7.805 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.003626/0.3772, allocations: 1.536 MB / 0.5739 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3775, allocations: 167.8 kB / 0.5741 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3775, allocations: 0 / 0.5741 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3777, allocations: 86.7 kB / 0.5742 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.3783, allocations: 86.44 kB / 0.5743 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.3827, allocations: 3.331 MB / 0.5775 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3829, allocations: 228.8 kB / 0.5777 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.3831, allocations: 70.17 kB / 0.5778 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3833, allocations: 135.4 kB / 0.5779 GB, free: 2.438 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3833, allocations: 0 / 0.5779 GB, free: 2.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.4193, allocations: 8.625 MB / 0.5864 GB, free: 9.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.35, allocations: 6.875 kB / 0.5864 GB, free: 9.828 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.384797175996937]