Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001191/0.001191, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001394/0.001394, allocations: 219.8 kB / 25.13 MB, free: 3.609 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.436/1.436, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.228/0.228, allocations: 46.93 MB / 362 MB, free: 4.23 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") [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.002293/0.002293, allocations: 79.84 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3204, allocations: 66.08 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00375/0.3242, allocations: 2.115 MB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3266, allocations: 1.415 MB / 0.5658 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3267, allocations: 7.938 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.327, allocations: 67.42 kB / 0.5659 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.3275, allocations: 223 kB / 0.5661 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3289, allocations: 0.6254 MB / 0.5667 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3294, allocations: 354.9 kB / 0.567 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3295, allocations: 56.69 kB / 0.5671 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.3298, allocations: 163.3 kB / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.33, allocations: 211.2 kB / 0.5674 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.3301, allocations: 16 kB / 0.5675 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3302, allocations: 67.92 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3304, allocations: 151.5 kB / 0.5677 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3306, allocations: 186.5 kB / 0.5678 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3312, allocations: 424.6 kB / 0.5682 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3312, allocations: 0 / 0.5682 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3312, allocations: 4 kB / 0.5682 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3312, allocations: 0 / 0.5682 GB, free: 14.2 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.001156/0.3324, allocations: 0.7562 MB / 0.569 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3324, allocations: 8.031 kB / 0.569 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.3328, allocations: 100.5 kB / 0.5691 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.3335, allocations: 423.2 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3336, allocations: 4.375 kB / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3336, allocations: 20.27 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.3339, allocations: 163.5 kB / 0.5697 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.334, allocations: 0 / 0.5697 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.334, allocations: 8 kB / 0.5697 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.334, allocations: 0 / 0.5697 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.3343, allocations: 131.8 kB / 0.5698 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3354, allocations: 0.6714 MB / 0.5705 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3357, allocations: 133.2 kB / 0.5706 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3359, allocations: 61.8 kB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.3359, allocations: 7.984 kB / 0.5707 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.336, allocations: 46.55 kB / 0.5707 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.336, allocations: 4 kB / 0.5707 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002072/0.338, allocations: 0.7529 MB / 0.5714 GB, free: 10.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.3381, allocations: 81.11 kB / 0.5715 GB, free: 10.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3392, allocations: 0.9025 MB / 0.5724 GB, free: 9.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3392, allocations: 33.7 kB / 0.5724 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.3395, allocations: 268.3 kB / 0.5727 GB, free: 9.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.3396, allocations: 71.42 kB / 0.5728 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.3396, allocations: 41.7 kB / 0.5728 GB, free: 9.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3398, allocations: 370.8 kB / 0.5731 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.3401, allocations: 115.9 kB / 0.5733 GB, free: 8.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3404, allocations: 129.6 kB / 0.5734 GB, free: 8.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.341, allocations: 253.6 kB / 0.5736 GB, free: 8.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.341, allocations: 0 / 0.5736 GB, free: 8.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006923/0.3416, allocations: 345 kB / 0.574 GB, free: 8.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3417, allocations: 6.344 kB / 0.574 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3417, allocations: 0 / 0.574 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3417, allocations: 4 kB / 0.574 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.342, allocations: 60.16 kB / 0.574 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.342, allocations: 4 kB / 0.574 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.3421, allocations: 19.92 kB / 0.574 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3422, allocations: 15.92 kB / 0.5741 GB, free: 8.016 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 (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.0002361/0.3424, allocations: 221.7 kB / 0.5743 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3425, allocations: 67.56 kB / 0.5743 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/0.3434, allocations: 395.3 kB / 0.5747 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3434, allocations: 4 kB / 0.5747 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3434, allocations: 7.984 kB / 0.5747 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3434, allocations: 96 / 0.5747 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3449, allocations: 0.922 MB / 0.5756 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3449, allocations: 0 / 0.5756 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.3452, allocations: 59.89 kB / 0.5757 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3452, allocations: 0 / 0.5757 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3452, allocations: 7.984 kB / 0.5757 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3452, allocations: 4 kB / 0.5757 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3452, allocations: 0 / 0.5757 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.346, allocations: 0.5161 MB / 0.5762 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3461, allocations: 63.61 kB / 0.5763 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.3462, allocations: 11.94 kB / 0.5763 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3464, allocations: 19.97 kB / 0.5763 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.3465, allocations: 19.91 kB / 0.5763 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3465, allocations: 12 kB / 0.5763 GB, free: 5.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007699/0.3473, allocations: 0.6591 MB / 0.577 GB, free: 4.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3473, allocations: 0 / 0.577 GB, free: 4.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3476, allocations: 71.92 kB / 0.577 GB, free: 4.895 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 (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 Backend phase and start with SimCode phase: time 0.001427/0.3491, allocations: 405.1 kB / 0.5774 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.3497, allocations: 251.6 kB / 0.5777 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3497, allocations: 0 / 0.5777 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.35, allocations: 135.8 kB / 0.5778 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.3506, allocations: 83.2 kB / 0.5779 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3521, allocations: 1.028 MB / 0.5789 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3526, allocations: 0.885 MB / 0.5797 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3529, allocations: 103.2 kB / 0.5798 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.353, allocations: 43.42 kB / 0.5799 GB, free: 2.055 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.353, allocations: 0 / 0.5799 GB, free: 2.055 MB / 414.1 MB Notification: Performance of Templates: time 0.009632/0.3626, allocations: 4.625 MB / 0.5844 GB, free: 13.44 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.993850901024416]