Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001789/0.001789, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002152/0.002152, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.427/1.427, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2217/0.2217, allocations: 46.88 MB / 361.1 MB, free: 4.652 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") [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.002359/0.002359, allocations: 87.84 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2977, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003026/0.3007, allocations: 1.701 MB / 0.5629 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3017, allocations: 0.5615 MB / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.3017, allocations: 0 / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.3023, allocations: 463.1 kB / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.3028, allocations: 295.3 kB / 0.5642 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3031, allocations: 131.3 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.3033, allocations: 175.7 kB / 0.5645 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.3034, allocations: 12 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3035, allocations: 119.6 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3038, allocations: 243.5 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3038, allocations: 7.938 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3039, allocations: 51.97 kB / 0.5649 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.304, allocations: 83.69 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.151e-05/0.3041, allocations: 107 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.3045, allocations: 281.2 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3045, allocations: 0 / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3045, allocations: 0 / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3045, allocations: 0 / 0.5653 GB, free: 0.8477 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.0007808/0.3053, allocations: 0.6646 MB / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.3053, allocations: 8.031 kB / 0.566 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.3054, allocations: 44.66 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.3057, allocations: 300.6 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3057, allocations: 8.312 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3057, allocations: 4.375 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3059, allocations: 58.23 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3059, allocations: 192 / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3059, allocations: 7.938 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3059, allocations: 4 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.306, allocations: 23.98 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.3065, allocations: 396.6 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3066, allocations: 46.5 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3067, allocations: 20.94 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3067, allocations: 4.031 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3067, allocations: 30.56 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3067, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009386/0.3077, allocations: 316.5 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3077, allocations: 63.39 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/0.3086, allocations: 0.8575 MB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3086, allocations: 29.7 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3088, allocations: 220.1 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3089, allocations: 31.75 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.3089, allocations: 21.7 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3091, allocations: 366.7 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.3092, allocations: 23.97 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.3092, allocations: 27.98 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3094, allocations: 64.77 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3094, allocations: 7.938 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002525/0.3097, allocations: 137.6 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3097, allocations: 8 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3097, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3097, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.3098, allocations: 15.98 kB / 0.569 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3098, allocations: 4 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.3098, allocations: 7.922 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.3099, allocations: 8 kB / 0.569 GB, free: 12.83 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 (8): * Single equations (assignments): 8 * 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.0002011/0.3101, allocations: 213.7 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.3101, allocations: 48.09 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.3105, allocations: 165.5 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3105, allocations: 0 / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3105, allocations: 0 / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3105, allocations: 11.92 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.3112, allocations: 0.4953 MB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3112, allocations: 0 / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.3113, allocations: 19.98 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3113, allocations: 3.938 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3113, allocations: 7.875 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3113, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3113, allocations: 4.031 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.3116, allocations: 236 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3117, allocations: 116.8 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3117, allocations: 3.938 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3119, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.3119, allocations: 15.98 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3119, allocations: 4 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.3126, allocations: 0.6472 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3126, allocations: 0 / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3128, allocations: 31.98 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001676/0.3145, allocations: 461.4 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3147, allocations: 59.95 kB / 0.5715 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3147, allocations: 0 / 0.5715 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3148, allocations: 43.83 kB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3152, allocations: 26.36 kB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3164, allocations: 0.8384 MB / 0.5724 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3168, allocations: 0.826 MB / 0.5732 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.3169, allocations: 16.42 kB / 0.5732 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.3169, allocations: 15.44 kB / 0.5732 GB, free: 8.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3169, allocations: 0 / 0.5732 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Templates: time 0.005312/0.3222, allocations: 1.762 MB / 0.5749 GB, free: 6.773 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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: 4.891241837758571]