Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001707/0.001707, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002232/0.002232, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2465/0.2465, allocations: 44.91 MB / 359.6 MB, free: 6.324 MB / 286.1 MB " [Timeout remaining time 179] 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002024/0.002024, allocations: 65.78 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3927, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003363/0.3961, allocations: 1.697 MB / 0.5595 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3972, allocations: 0.601 MB / 0.5601 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.3972, allocations: 0 / 0.5601 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3975, allocations: 51.73 kB / 0.5601 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.3978, allocations: 95.66 kB / 0.5602 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.3982, allocations: 174.8 kB / 0.5604 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3984, allocations: 95.69 kB / 0.5605 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3985, allocations: 22.03 kB / 0.5605 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.3986, allocations: 35.86 kB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3987, allocations: 55.75 kB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3987, allocations: 4 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3988, allocations: 43.98 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.3989, allocations: 27.91 kB / 0.5606 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.3989, allocations: 39.73 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3991, allocations: 123.4 kB / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3992, allocations: 3.938 kB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3992, allocations: 0 / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3992, allocations: 0 / 0.5608 GB, free: 4.734 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.0005663/0.3997, allocations: 349.6 kB / 0.5611 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3998, allocations: 12.03 kB / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.24e-05/0.3998, allocations: 192 / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.3998, allocations: 38.73 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3999, allocations: 16.84 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4001, allocations: 150.2 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.4001, allocations: 384 / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4001, allocations: 12.12 kB / 0.5613 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4003, allocations: 65.67 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4003, allocations: 0 / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4003, allocations: 0 / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4003, allocations: 0 / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.4005, allocations: 51.89 kB / 0.5615 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.401, allocations: 291.8 kB / 0.5617 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.4012, allocations: 58.64 kB / 0.5618 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.4013, allocations: 28.91 kB / 0.5618 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4013, allocations: 0 / 0.5618 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4014, allocations: 34.55 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.4014, allocations: 0 / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001599/0.403, allocations: 428.9 kB / 0.5623 GB, free: 3.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.403, allocations: 51.41 kB / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4032, allocations: 186.2 kB / 0.5625 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4032, allocations: 25.7 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.4033, allocations: 108.1 kB / 0.5626 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.4034, allocations: 51.56 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.4035, allocations: 21.72 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4036, allocations: 326.8 kB / 0.563 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4038, allocations: 52.52 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.4039, allocations: 55.89 kB / 0.5631 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.4042, allocations: 128.8 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4042, allocations: 0 / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003609/0.4046, allocations: 165.8 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4046, allocations: 6.656 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4046, allocations: 7.922 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4046, allocations: 7.938 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4047, allocations: 31.92 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4048, allocations: 0 / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.4048, allocations: 15.98 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4048, allocations: 0 / 0.5635 GB, free: 1.816 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.0001301/0.405, allocations: 129.8 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.405, allocations: 11.91 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.4055, allocations: 194.2 kB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4055, allocations: 0 / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4055, allocations: 4 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4055, allocations: 7.922 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.4062, allocations: 475.1 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4062, allocations: 0 / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4064, allocations: 27.92 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4064, allocations: 4 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4064, allocations: 7.984 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4064, allocations: 0 / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4064, allocations: 4 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.4068, allocations: 277.1 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.4068, allocations: 11.91 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4068, allocations: 4 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4069, allocations: 15.92 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.407, allocations: 11.98 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.407, allocations: 8 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4071, allocations: 144 kB / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4071, allocations: 0 / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.4074, allocations: 27.94 kB / 0.5648 GB, free: 392 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.002355/0.4098, allocations: 1.168 MB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.4101, allocations: 119.8 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4101, allocations: 0 / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.4103, allocations: 67.89 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.4107, allocations: 20.11 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4132, allocations: 1.902 MB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4136, allocations: 0.7158 MB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4137, allocations: 36.45 kB / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.4138, allocations: 39.42 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4138, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4364, allocations: 3.676 MB / 0.5723 GB, free: 8.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.45, allocations: 9.422 kB / 0.5723 GB, free: 8.746 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.82199393195333]