Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001816/0.001816, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002101/0.002101, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2354/0.2354, allocations: 44.92 MB / 358.8 MB, free: 6.055 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",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.00237/0.00237, allocations: 75.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3506, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003661/0.3543, allocations: 1.969 MB / 0.5589 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3562, allocations: 0.9945 MB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.3563, allocations: 0 / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.3568, allocations: 259.1 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.3573, allocations: 267.1 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3584, allocations: 497.3 kB / 0.5609 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.3588, allocations: 338.8 kB / 0.5612 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.359, allocations: 46.72 kB / 0.5612 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.3592, allocations: 151.4 kB / 0.5614 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.3594, allocations: 215.2 kB / 0.5616 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.3595, allocations: 12 kB / 0.5616 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3597, allocations: 95.97 kB / 0.5617 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3598, allocations: 107.5 kB / 0.5618 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.3599, allocations: 91.22 kB / 0.5619 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.3604, allocations: 366.2 kB / 0.5622 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3604, allocations: 0 / 0.5622 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3604, allocations: 0 / 0.5622 GB, free: 2.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3604, allocations: 3.984 kB / 0.5622 GB, free: 2.148 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009182/0.3613, allocations: 0.6243 MB / 0.5628 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3614, allocations: 8.031 kB / 0.5628 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.3614, allocations: 46.73 kB / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.3615, allocations: 48.61 kB / 0.5629 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3619, allocations: 268.6 kB / 0.5632 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3619, allocations: 8.375 kB / 0.5632 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.362, allocations: 12.38 kB / 0.5632 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3622, allocations: 109.5 kB / 0.5633 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3622, allocations: 4 kB / 0.5633 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3622, allocations: 4 kB / 0.5633 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3622, allocations: 4 kB / 0.5633 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3624, allocations: 71.88 kB / 0.5634 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.3631, allocations: 459.4 kB / 0.5638 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3633, allocations: 94.48 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3633, allocations: 32.84 kB / 0.5639 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3634, allocations: 0 / 0.5639 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3634, allocations: 42.48 kB / 0.564 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.011e-06/0.3634, allocations: 0 / 0.564 GB, free: 204 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009981/0.3644, allocations: 398.7 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3645, allocations: 55.41 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.3651, allocations: 0.5955 MB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3652, allocations: 29.7 kB / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3653, allocations: 216.4 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.3654, allocations: 55.48 kB / 0.5653 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.3655, allocations: 33.7 kB / 0.5653 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3656, allocations: 358.8 kB / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3658, allocations: 43.97 kB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3659, allocations: 51.97 kB / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3661, allocations: 127.1 kB / 0.5659 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3661, allocations: 4 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003614/0.3665, allocations: 201.2 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3665, allocations: 4 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3665, allocations: 0 / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3665, allocations: 0 / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3667, allocations: 31.98 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3667, allocations: 0 / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.3668, allocations: 15.98 kB / 0.5661 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3668, allocations: 8 kB / 0.5661 GB, free: 13.94 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.0001819/0.367, allocations: 177.7 kB / 0.5663 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.3671, allocations: 43.72 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.3675, allocations: 251.9 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3675, allocations: 4 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3675, allocations: 0 / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3676, allocations: 3.984 kB / 0.5666 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.3684, allocations: 0.5871 MB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3684, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3685, allocations: 39.86 kB / 0.5672 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3685, allocations: 0 / 0.5672 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3686, allocations: 7.984 kB / 0.5672 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3686, allocations: 7.938 kB / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3686, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.369, allocations: 297.9 kB / 0.5675 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.369, allocations: 47.7 kB / 0.5675 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3691, allocations: 7.922 kB / 0.5675 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3692, allocations: 11.94 kB / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3692, allocations: 7.984 kB / 0.5676 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3693, allocations: 15.92 kB / 0.5676 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004892/0.3697, allocations: 439.1 kB / 0.568 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 0 / 0.568 GB, free: 11.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.3701, allocations: 51.92 kB / 0.5681 GB, free: 11.89 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.003585/0.3736, allocations: 1.488 MB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.374, allocations: 131.8 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.374, allocations: 0 / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3741, allocations: 67.91 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.3747, allocations: 84.88 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.3788, allocations: 3.17 MB / 0.5729 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.379, allocations: 208.2 kB / 0.5731 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3791, allocations: 54.23 kB / 0.5731 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3793, allocations: 131.4 kB / 0.5732 GB, free: 6.832 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3793, allocations: 3.938 kB / 0.5733 GB, free: 6.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.4178, allocations: 8.328 MB / 0.5814 GB, free: 14.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 3.562 kB / 0.5814 GB, free: 14.51 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.109438897110522]