Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001312/0.001312, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00138/0.00138, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2279/0.2279, allocations: 44.93 MB / 359.6 MB, free: 6.086 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002015/0.002015, allocations: 63.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 65.48 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003187/0.3667, allocations: 1.659 MB / 0.5594 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3677, allocations: 0.5349 MB / 0.5599 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.3678, allocations: 0 / 0.5599 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.3683, allocations: 455.1 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.3688, allocations: 299.2 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3692, allocations: 135.4 kB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.3694, allocations: 167.7 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.3695, allocations: 17.81 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3696, allocations: 115.7 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3699, allocations: 251.5 kB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3699, allocations: 4 kB / 0.5613 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3701, allocations: 55.95 kB / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3702, allocations: 87.58 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.3702, allocations: 71.23 kB / 0.5615 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.3706, allocations: 290.5 kB / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3706, allocations: 0 / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3706, allocations: 0 / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3706, allocations: 0 / 0.5618 GB, free: 3.43 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.000796/0.3714, allocations: 0.5931 MB / 0.5623 GB, free: 2.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3715, allocations: 12.03 kB / 0.5623 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/0.3715, allocations: 4.188 kB / 0.5624 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3715, allocations: 34.75 kB / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.3716, allocations: 44.66 kB / 0.5624 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3719, allocations: 250.7 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3719, allocations: 384 / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3719, allocations: 16.06 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3721, allocations: 61.67 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3721, allocations: 0 / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3721, allocations: 0 / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3722, allocations: 4 kB / 0.5627 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3723, allocations: 39.91 kB / 0.5628 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3728, allocations: 351.8 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3729, allocations: 46.69 kB / 0.5632 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.373, allocations: 20.84 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.373, allocations: 0 / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3731, allocations: 34.56 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3731, allocations: 0 / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.3741, allocations: 324.4 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3741, allocations: 51.41 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.3751, allocations: 0.8738 MB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3751, allocations: 25.7 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3753, allocations: 224.1 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.3754, allocations: 35.72 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3754, allocations: 17.72 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3756, allocations: 370.8 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3757, allocations: 23.92 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.3758, allocations: 23.98 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3759, allocations: 69.05 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3759, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002464/0.3762, allocations: 129.4 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3762, allocations: 12 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3762, allocations: 0 / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3762, allocations: 3.938 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3763, allocations: 19.92 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3763, allocations: 4 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.3764, allocations: 8 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3764, allocations: 0 / 0.5653 GB, free: 15.55 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 (8): * Single equations (assignments): 8 * 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.0002237/0.3766, allocations: 213.8 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.3767, allocations: 48.09 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.3771, allocations: 161.5 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3771, allocations: 3.938 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3771, allocations: 7.922 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3771, allocations: 0 / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.3778, allocations: 478.2 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3778, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.3779, allocations: 20.02 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3779, allocations: 8 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3779, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3779, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3779, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.3782, allocations: 247.9 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.3783, allocations: 43.7 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.3783, allocations: 7.938 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.3784, allocations: 0 / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3784, allocations: 11.98 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3784, allocations: 4 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007176/0.3791, allocations: 0.6589 MB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3791, allocations: 0 / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3794, allocations: 31.94 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002434/0.3819, allocations: 1.161 MB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3821, allocations: 63.95 kB / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3821, allocations: 0 / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.3822, allocations: 35.92 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3826, allocations: 29.23 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.3868, allocations: 3.337 MB / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3871, allocations: 224.7 kB / 0.572 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.3871, allocations: 20.72 kB / 0.572 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3873, allocations: 115.3 kB / 0.5721 GB, free: 8.629 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3873, allocations: 0 / 0.5721 GB, free: 8.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.4135, allocations: 6.629 MB / 0.5786 GB, free: 2.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.5, allocations: 6.875 kB / 0.5786 GB, free: 2.059 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: 15.652380730956793]