Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001895/0.001895, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.0024/0.0024, allocations: 209 kB / 24.48 MB, free: 3.938 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2609/0.2609, allocations: 46.97 MB / 361.6 MB, free: 4.035 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 75.88 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003563/0.3202, allocations: 1.959 MB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.3225, allocations: 1.311 MB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3227, allocations: 11.94 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3229, allocations: 55.5 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.3234, allocations: 211.2 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3247, allocations: 0.591 MB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.3251, allocations: 331.1 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3252, allocations: 60.62 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.3255, allocations: 143.4 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3257, allocations: 195.2 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.3258, allocations: 12 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3259, allocations: 71.91 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3261, allocations: 143.6 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3262, allocations: 126.9 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.3267, allocations: 408.5 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3267, allocations: 3.938 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3267, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3267, allocations: 4 kB / 0.5673 GB, free: 14.55 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001024/0.3277, allocations: 0.7173 MB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3277, allocations: 8.031 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.328, allocations: 80.53 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.3287, allocations: 406.4 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3287, allocations: 12.38 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.3288, allocations: 12.12 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.3291, allocations: 141 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3291, allocations: 3.953 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3291, allocations: 4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3291, allocations: 4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.3294, allocations: 99.86 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.3303, allocations: 0.5977 MB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3306, allocations: 109.2 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3307, allocations: 49.81 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3307, allocations: 4 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3307, allocations: 30.56 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3307, allocations: 0 / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001444/0.3322, allocations: 0.5625 MB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3323, allocations: 81.11 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3333, allocations: 0.8741 MB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3333, allocations: 29.7 kB / 0.571 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.3335, allocations: 252.3 kB / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3336, allocations: 59.52 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.3337, allocations: 33.7 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3339, allocations: 370.8 kB / 0.5717 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.334, allocations: 72.08 kB / 0.5718 GB, free: 9.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3342, allocations: 81.67 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3346, allocations: 161.7 kB / 0.572 GB, free: 9.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3346, allocations: 3.938 kB / 0.572 GB, free: 9.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004965/0.3351, allocations: 245.1 kB / 0.5722 GB, free: 9.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3351, allocations: 8 kB / 0.5722 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3351, allocations: 0 / 0.5722 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3351, allocations: 0 / 0.5722 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3353, allocations: 39.97 kB / 0.5723 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3353, allocations: 4 kB / 0.5723 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3355, allocations: 12.14 kB / 0.5723 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3355, allocations: 11.94 kB / 0.5723 GB, free: 9.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002276/0.3357, allocations: 225.6 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3358, allocations: 59.58 kB / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.3364, allocations: 282.2 kB / 0.5728 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3364, allocations: 4 kB / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3365, allocations: 3.984 kB / 0.5729 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3365, allocations: 4 kB / 0.5729 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.3376, allocations: 0.7119 MB / 0.5736 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3377, allocations: 0 / 0.5736 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3378, allocations: 39.91 kB / 0.5736 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3378, allocations: 0 / 0.5736 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3378, allocations: 7.984 kB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3378, allocations: 0 / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3378, allocations: 8 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.3385, allocations: 422.2 kB / 0.574 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3386, allocations: 63.59 kB / 0.5741 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.3386, allocations: 4 kB / 0.5741 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3388, allocations: 11.98 kB / 0.5741 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.3389, allocations: 15.92 kB / 0.5741 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3389, allocations: 11.98 kB / 0.5741 GB, free: 7.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.3396, allocations: 0.6433 MB / 0.5747 GB, free: 6.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 0 / 0.5747 GB, free: 6.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.34, allocations: 48 kB / 0.5748 GB, free: 6.586 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 (16): * Single equations (assignments): 16 * 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.001624/0.3416, allocations: 446.2 kB / 0.5752 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.342, allocations: 151.8 kB / 0.5754 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.342, allocations: 0 / 0.5754 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3422, allocations: 83.89 kB / 0.5754 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.3428, allocations: 86.61 kB / 0.5755 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3442, allocations: 0.9673 MB / 0.5765 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3445, allocations: 269.1 kB / 0.5767 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3446, allocations: 39.42 kB / 0.5768 GB, free: 4.691 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3446, allocations: 0 / 0.5768 GB, free: 4.691 MB / 414.1 MB Notification: Performance of Templates: time 0.009118/0.3537, allocations: 5.94 MB / 0.5826 GB, free: 14.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 8.22301167016849]