Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.00178/0.00178, allocations: 115.8 kB / 20.44 MB, free: 1.324 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.002174/0.002174, allocations: 207.1 kB / 23.74 MB, free: 4.547 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3591, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003239/0.3623, allocations: 1.721 MB / 0.5624 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3634, allocations: 0.5699 MB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3634, allocations: 3.938 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.3636, allocations: 27.78 kB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.3639, allocations: 91.55 kB / 0.563 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3643, allocations: 131.4 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3645, allocations: 95.69 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3646, allocations: 21.81 kB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.3647, allocations: 35.8 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.3648, allocations: 47.81 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3648, allocations: 8 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.365, allocations: 107.9 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.365, allocations: 19.92 kB / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.3651, allocations: 39.73 kB / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.3654, allocations: 175.4 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3654, allocations: 0 / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3654, allocations: 0 / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3654, allocations: 0 / 0.5637 GB, free: 1.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006685/0.3661, allocations: 369.5 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3661, allocations: 11.97 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.3662, allocations: 34.75 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3662, allocations: 16.83 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3664, allocations: 146.3 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3664, allocations: 8.359 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3665, allocations: 4.375 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3667, allocations: 95.3 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3667, allocations: 0 / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3668, allocations: 0 / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3668, allocations: 4 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.367, allocations: 75.84 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.3675, allocations: 283.9 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.3677, allocations: 70.47 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3679, allocations: 48.94 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3679, allocations: 0 / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3679, allocations: 30.56 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.3679, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00152/0.3694, allocations: 385 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3695, allocations: 81.09 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3697, allocations: 165.8 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3697, allocations: 29.7 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.3698, allocations: 96.23 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3698, allocations: 43.62 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3698, allocations: 21.72 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.37, allocations: 322.8 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.3702, allocations: 71.86 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.3705, allocations: 93.62 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.371, allocations: 144.8 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.371, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005801/0.3716, allocations: 189.4 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3716, allocations: 4 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3716, allocations: 8 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3716, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3719, allocations: 35.95 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.3719, allocations: 7.875 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.372, allocations: 27.95 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.372, allocations: 8 kB / 0.5665 GB, free: 14.3 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 (10): * Single equations (assignments): 10 * 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.0001136/0.3721, allocations: 121.8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3722, allocations: 15.89 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.3728, allocations: 206.4 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3728, allocations: 8 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3728, allocations: 3.938 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3728, allocations: 0 / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.3738, allocations: 469.5 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3738, allocations: 0 / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.374, allocations: 40.27 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.374, allocations: 0 / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.374, allocations: 7.938 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.374, allocations: 4 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.374, allocations: 0 / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.3747, allocations: 287.3 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.3747, allocations: 15.83 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3747, allocations: 4 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3749, allocations: 31.95 kB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.375, allocations: 11.98 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.375, allocations: 4 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3751, allocations: 119.2 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3751, allocations: 0 / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.3754, allocations: 51.86 kB / 0.5678 GB, free: 12.85 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 (9): * Single equations (assignments): 9 * 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.002649/0.3781, allocations: 1.213 MB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.3787, allocations: 159.8 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3787, allocations: 0 / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.379, allocations: 87.98 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3794, allocations: 23.61 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.3824, allocations: 1.864 MB / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3828, allocations: 0.6963 MB / 0.5718 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.3828, allocations: 16.5 kB / 0.5718 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.3829, allocations: 43.41 kB / 0.5718 GB, free: 8.812 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3829, allocations: 0 / 0.5718 GB, free: 8.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.4131, allocations: 4.439 MB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 6.719 kB / 0.5762 GB, free: 4.395 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.54479751107283]