Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.00202/0.00202, 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.00254/0.00254, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2342/0.2342, allocations: 44.9 MB / 359.6 MB, free: 6.414 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001934/0.001934, allocations: 59.91 kB / 0.4939 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 65.48 MB / 0.5578 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003343/0.3535, allocations: 1.697 MB / 0.5595 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3547, allocations: 0.5971 MB / 0.5601 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.3547, allocations: 0 / 0.5601 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.355, allocations: 71.7 kB / 0.5601 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.3553, allocations: 115.6 kB / 0.5602 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.3558, allocations: 179.3 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.356, allocations: 91.75 kB / 0.5605 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3561, allocations: 18.17 kB / 0.5605 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.3562, allocations: 43.84 kB / 0.5606 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3563, allocations: 63.8 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3563, allocations: 4 kB / 0.5606 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3564, allocations: 55.86 kB / 0.5607 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.3565, allocations: 31.91 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3565, allocations: 39.73 kB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.3567, allocations: 119.4 kB / 0.5609 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3567, allocations: 0 / 0.5609 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3567, allocations: 0 / 0.5609 GB, free: 4.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3568, allocations: 0 / 0.5609 GB, free: 4.695 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005633/0.3573, allocations: 369.4 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3574, allocations: 12.03 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.643e-05/0.3574, allocations: 4.125 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.3574, allocations: 34.75 kB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3574, allocations: 16.84 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3576, allocations: 150.8 kB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3576, allocations: 4.375 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3577, allocations: 8.125 kB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3579, allocations: 69.66 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3579, allocations: 3.938 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3579, allocations: 4 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3579, allocations: 0 / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.358, allocations: 43.95 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.3585, allocations: 303.8 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3587, allocations: 62.58 kB / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.3588, allocations: 24.97 kB / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3588, allocations: 3.984 kB / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3589, allocations: 34.56 kB / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3589, allocations: 0 / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001554/0.3604, allocations: 436.9 kB / 0.5624 GB, free: 3.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3605, allocations: 55.34 kB / 0.5624 GB, free: 2.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3607, allocations: 222.7 kB / 0.5626 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3607, allocations: 29.7 kB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.3608, allocations: 108.1 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3608, allocations: 39.69 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.3609, allocations: 29.7 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.361, allocations: 322.8 kB / 0.5631 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3612, allocations: 55.95 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3613, allocations: 51.97 kB / 0.5632 GB, free: 2.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3616, allocations: 129 kB / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3616, allocations: 0 / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003598/0.362, allocations: 173.4 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.362, allocations: 4 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.362, allocations: 0 / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.362, allocations: 3.938 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3621, allocations: 35.97 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3621, allocations: 4 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.3622, allocations: 4.562 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3622, allocations: 7.984 kB / 0.5636 GB, free: 1.691 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 (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.0001123/0.3623, allocations: 129.8 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.3624, allocations: 15.91 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.3628, allocations: 210.7 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3628, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3628, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.3629, allocations: 7.984 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.3636, allocations: 487 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3636, allocations: 0 / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3637, allocations: 27.97 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3637, allocations: 0 / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3637, allocations: 8 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3637, allocations: 0 / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3637, allocations: 0 / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.3641, allocations: 285 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3642, allocations: 11.91 kB / 0.5647 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3642, allocations: 4 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3643, allocations: 11.98 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3643, allocations: 11.98 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3643, allocations: 8 kB / 0.5647 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3645, allocations: 168.3 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 0 / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3648, allocations: 27.94 kB / 0.5649 GB, free: 212 kB / 398.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.002376/0.3671, allocations: 1.166 MB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.3675, allocations: 127.8 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3675, allocations: 0 / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3677, allocations: 63.89 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3681, allocations: 28.05 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3708, allocations: 1.987 MB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3712, allocations: 0.7236 MB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.362e-05/0.3712, allocations: 32.45 kB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.3713, allocations: 43.42 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3713, allocations: 0 / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.394, allocations: 3.85 MB / 0.5728 GB, free: 8.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 14.28 kB / 0.5728 GB, free: 8.293 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.78627061698353]