Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007561/0.007561, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2247/0.2247, allocations: 46.92 MB / 362.3 MB, free: 4.309 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.86 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3105, allocations: 66.07 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003172/0.3137, allocations: 1.686 MB / 0.5644 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3147, allocations: 0.7672 MB / 0.5651 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.3147, allocations: 4 kB / 0.5651 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.315, allocations: 27.84 kB / 0.5652 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3152, allocations: 44.8 kB / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.3152, allocations: 0 / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3153, allocations: 27.91 kB / 0.5652 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.3154, allocations: 3.984 kB / 0.5652 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.3154, allocations: 19.86 kB / 0.5652 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.3155, allocations: 19.44 kB / 0.5653 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.3155, allocations: 0 / 0.5653 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.3155, allocations: 15.98 kB / 0.5653 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.3156, allocations: 19.92 kB / 0.5653 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.3156, allocations: 19.81 kB / 0.5653 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3158, allocations: 74 kB / 0.5654 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3158, allocations: 0 / 0.5654 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3158, allocations: 0 / 0.5654 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3158, allocations: 0 / 0.5654 GB, free: 1.531 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004018/0.3162, allocations: 294 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3162, allocations: 8.031 kB / 0.5657 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3163, allocations: 12.89 kB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3164, allocations: 114.5 kB / 0.5658 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3164, allocations: 384 / 0.5658 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3164, allocations: 8.359 kB / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3166, allocations: 119.3 kB / 0.5659 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3166, allocations: 4.125 kB / 0.5659 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3166, allocations: 7.938 kB / 0.5659 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.3167, allocations: 27.92 kB / 0.566 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.3168, allocations: 43.91 kB / 0.566 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.3175, allocations: 0.8624 MB / 0.5668 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3176, allocations: 169.1 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.3176, allocations: 80.14 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.3177, allocations: 83.2 kB / 0.5672 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.3177, allocations: 113.8 kB / 0.5673 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3177, allocations: 0 / 0.5673 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.442e-05/0.3178, allocations: 41.64 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.3179, allocations: 130.7 kB / 0.5674 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3181, allocations: 187 kB / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3181, allocations: 25.7 kB / 0.5676 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3182, allocations: 151.5 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.3182, allocations: 4 kB / 0.5678 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3182, allocations: 41.67 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3184, allocations: 322.8 kB / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.3184, allocations: 31.97 kB / 0.5682 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3186, allocations: 159.4 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.3188, allocations: 208.8 kB / 0.5685 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3188, allocations: 0 / 0.5685 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000319/0.3191, allocations: 205.6 kB / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3191, allocations: 10.34 kB / 0.5687 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3191, allocations: 4 kB / 0.5687 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3192, allocations: 12 kB / 0.5687 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3193, allocations: 35.92 kB / 0.5688 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.3193, allocations: 7.984 kB / 0.5688 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.3194, allocations: 23.83 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3194, allocations: 12 kB / 0.5688 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000137/0.3195, allocations: 213.1 kB / 0.569 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.3196, allocations: 116.8 kB / 0.5691 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.3197, allocations: 116.6 kB / 0.5692 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.3198, allocations: 188.2 kB / 0.5694 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.963e-05/0.3199, allocations: 176.4 kB / 0.5696 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-05/0.3199, allocations: 180.3 kB / 0.5698 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3202, allocations: 400.2 kB / 0.5701 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.612e-05/0.3202, allocations: 108.9 kB / 0.5702 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/0.3203, allocations: 108.9 kB / 0.5703 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-05/0.3204, allocations: 180.3 kB / 0.5705 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.3204, allocations: 176.3 kB / 0.5707 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.717e-05/0.3205, allocations: 188.1 kB / 0.5709 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.813e-05/0.3206, allocations: 184.3 kB / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.3208, allocations: 311.7 kB / 0.5713 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.3208, allocations: 112.9 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.3209, allocations: 184.2 kB / 0.5716 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.321, allocations: 113 kB / 0.5717 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.3211, allocations: 180.2 kB / 0.5719 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.3211, allocations: 101 kB / 0.572 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.3212, allocations: 131.2 kB / 0.5721 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 0 / 0.5721 GB, free: 10.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3215, allocations: 16 kB / 0.5721 GB, free: 10.07 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 (0): * Single equations (assignments): 0 * 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.0006682/0.3222, allocations: 272 kB / 0.5724 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3224, allocations: 71.78 kB / 0.5725 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3224, allocations: 0 / 0.5725 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3224, allocations: 1.25 kB / 0.5725 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3227, allocations: 471.6 kB / 0.5729 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.3231, allocations: 278.7 kB / 0.5732 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3235, allocations: 0.6967 MB / 0.5739 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.3236, allocations: 15.44 kB / 0.5739 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3236, allocations: 0 / 0.5739 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Templates: time 0.003181/0.3268, allocations: 1.305 MB / 0.5751 GB, free: 6.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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: 7.465977801010013]