Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001762/0.001762, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001947/0.001947, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2405/0.2405, allocations: 46.9 MB / 361.1 MB, free: 4.66 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002395/0.002395, allocations: 75.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3063, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003947/0.3102, allocations: 2.072 MB / 0.5632 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3127, allocations: 1.146 MB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3128, allocations: 8 kB / 0.5644 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.3134, allocations: 263.1 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.314, allocations: 263.1 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3156, allocations: 0.6525 MB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3162, allocations: 362.9 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.3164, allocations: 47.53 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3166, allocations: 151.4 kB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.3169, allocations: 227.2 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.3169, allocations: 12 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.3172, allocations: 104 kB / 0.5664 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.3174, allocations: 107.5 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3175, allocations: 119 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.3181, allocations: 358.2 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3181, allocations: 0 / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3181, allocations: 0 / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3181, allocations: 0 / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008852/0.319, allocations: 0.6763 MB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.319, allocations: 12.03 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.3191, allocations: 44.61 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.3196, allocations: 334.5 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3197, allocations: 12.38 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3197, allocations: 12.38 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.32, allocations: 126.1 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.32, allocations: 4.125 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.32, allocations: 11.92 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.32, allocations: 4 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.3202, allocations: 87.88 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.321, allocations: 0.512 MB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3212, allocations: 98.53 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.3213, allocations: 36.84 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3213, allocations: 11.92 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3214, allocations: 34.56 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3214, allocations: 0 / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001158/0.3225, allocations: 459 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3226, allocations: 55.31 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.3233, allocations: 0.5721 MB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3234, allocations: 25.7 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.3236, allocations: 208.4 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.3237, allocations: 59.48 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3238, allocations: 37.7 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.324, allocations: 354.8 kB / 0.5706 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3241, allocations: 67.89 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3243, allocations: 67.95 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3246, allocations: 159.1 kB / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3246, allocations: 0 / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004317/0.325, allocations: 237.2 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.325, allocations: 4 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.325, allocations: 4 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3251, allocations: 3.984 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3252, allocations: 31.98 kB / 0.5711 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3252, allocations: 0 / 0.5711 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.3253, allocations: 8 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3253, allocations: 11.92 kB / 0.5711 GB, free: 10.63 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 (17): * Single equations (assignments): 17 * 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.0001952/0.3255, allocations: 177.8 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.3256, allocations: 47.66 kB / 0.5714 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.3262, allocations: 280.2 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3262, allocations: 4 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3262, allocations: 3.938 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3262, allocations: 3.984 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.3272, allocations: 0.6778 MB / 0.5723 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3272, allocations: 0 / 0.5723 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3273, allocations: 31.98 kB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3273, allocations: 3.984 kB / 0.5723 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3273, allocations: 4 kB / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3273, allocations: 0 / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3273, allocations: 0 / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3278, allocations: 343 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.3279, allocations: 104.9 kB / 0.5728 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.328, allocations: 4 kB / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3281, allocations: 7.984 kB / 0.5728 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.3281, allocations: 15.98 kB / 0.5728 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3281, allocations: 7.938 kB / 0.5728 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000495/0.3286, allocations: 427.1 kB / 0.5732 GB, free: 8.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3286, allocations: 0 / 0.5732 GB, free: 8.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.3289, allocations: 51.94 kB / 0.5733 GB, free: 8.355 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 (17): * Single equations (assignments): 17 * 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.002788/0.3317, allocations: 0.7017 MB / 0.5739 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.3322, allocations: 159.8 kB / 0.5741 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3322, allocations: 4 kB / 0.5741 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3323, allocations: 90.39 kB / 0.5742 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3329, allocations: 80.36 kB / 0.5743 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3341, allocations: 0.7361 MB / 0.575 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3346, allocations: 0.826 MB / 0.5758 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3348, allocations: 57.89 kB / 0.5758 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.3349, allocations: 35.42 kB / 0.5759 GB, free: 5.926 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3349, allocations: 0 / 0.5759 GB, free: 5.926 MB / 414.1 MB Notification: Performance of Templates: time 0.008517/0.3434, allocations: 3.436 MB / 0.5792 GB, free: 2.504 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 5.026507908012718]