Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001796/0.001796, 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.001443/0.001443, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2542/0.2542, allocations: 44.92 MB / 359.6 MB, free: 6.25 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002021/0.002021, allocations: 75.86 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 65.48 MB / 0.5578 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00331/0.3574, allocations: 1.616 MB / 0.5594 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3586, allocations: 0.5378 MB / 0.5599 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.3587, allocations: 3.938 kB / 0.5599 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.3593, allocations: 463.1 kB / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.3598, allocations: 291.3 kB / 0.5606 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.3602, allocations: 123.7 kB / 0.5608 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.3605, allocations: 163.6 kB / 0.5609 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3606, allocations: 8.188 kB / 0.5609 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3607, allocations: 111.8 kB / 0.561 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.361, allocations: 247.5 kB / 0.5613 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.361, allocations: 0 / 0.5613 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.3611, allocations: 20 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3613, allocations: 92.66 kB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.3613, allocations: 99 kB / 0.5615 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3617, allocations: 264.5 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3617, allocations: 0 / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3617, allocations: 0 / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3617, allocations: 0 / 0.5617 GB, free: 3.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008262/0.3625, allocations: 0.5776 MB / 0.5623 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3626, allocations: 12.03 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.757e-05/0.3626, allocations: 192 / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.3626, allocations: 38.73 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.3627, allocations: 48.61 kB / 0.5624 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.363, allocations: 242.8 kB / 0.5626 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3631, allocations: 4.375 kB / 0.5626 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3631, allocations: 3.938 kB / 0.5626 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3632, allocations: 49.69 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3632, allocations: 3.984 kB / 0.5627 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3633, allocations: 4 kB / 0.5627 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3633, allocations: 0 / 0.5627 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3634, allocations: 27.92 kB / 0.5627 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.364, allocations: 347.9 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3641, allocations: 34.56 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.3641, allocations: 12.92 kB / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3641, allocations: 0 / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.3642, allocations: 42.5 kB / 0.5631 GB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3642, allocations: 0 / 0.5631 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.3645, allocations: 97.39 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.3646, allocations: 51.41 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3658, allocations: 0.8738 MB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3658, allocations: 25.7 kB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.366, allocations: 228 kB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3661, allocations: 8.078 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3661, allocations: 13.72 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.3664, allocations: 366.7 kB / 0.5647 GB, free: 468 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.3664, allocations: 15.92 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.3664, allocations: 8 kB / 0.5647 GB, free: 444 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.3665, allocations: 28.78 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3665, allocations: 64 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/0.3667, allocations: 93.39 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3667, allocations: 4 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3667, allocations: 0 / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3668, allocations: 4 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3669, allocations: 8 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3669, allocations: 0 / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.3669, allocations: 11.86 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3669, allocations: 4 kB / 0.5649 GB, free: 280 kB / 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 (2): * Single equations (assignments): 2 * 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.0002586/0.3672, allocations: 209.8 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.3673, allocations: 39.72 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.3675, allocations: 112.8 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3675, allocations: 0 / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3676, allocations: 0 / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3676, allocations: 3.938 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3679, allocations: 252.6 kB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3679, allocations: 0 / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.368, allocations: 8.031 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.368, allocations: 0 / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.368, allocations: 0 / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.368, allocations: 4 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.368, allocations: 7.984 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3682, allocations: 191.1 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.3683, allocations: 39.66 kB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3683, allocations: 8.031 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3684, allocations: 0 / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.3684, allocations: 4 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3684, allocations: 7.938 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000746/0.3691, allocations: 0.6589 MB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3694, allocations: 16 kB / 0.5664 GB, free: 14.65 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 (2): * Single equations (assignments): 2 * 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.001717/0.3711, allocations: 0.9726 MB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3713, allocations: 31.91 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3713, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.3713, allocations: 12 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3717, allocations: 30.17 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.3756, allocations: 3.152 MB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.3762, allocations: 0.8221 MB / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.3762, allocations: 11.81 kB / 0.5713 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3764, allocations: 115.4 kB / 0.5714 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3764, allocations: 0 / 0.5714 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.4101, allocations: 5.919 MB / 0.5772 GB, free: 3.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.27, allocations: 5.844 kB / 0.5772 GB, free: 3.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.489276264968794]