Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.008918/0.008918, allocations: 109 kB / 21.98 MB, free: 5.18 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.002432/0.002432, allocations: 220.6 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.478/1.478, allocations: 230.5 MB / 258.9 MB, free: 8.031 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.2211/0.2211, allocations: 46.93 MB / 362.3 MB, free: 4.211 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.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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.002307/0.002307, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3454, allocations: 66.08 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003823/0.3492, allocations: 2.065 MB / 0.5648 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3517, allocations: 1.376 MB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3519, allocations: 7.938 kB / 0.5661 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3522, allocations: 63.48 kB / 0.5662 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.3526, allocations: 199.2 kB / 0.5664 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.354, allocations: 0.6101 MB / 0.567 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.3545, allocations: 322.9 kB / 0.5673 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3547, allocations: 56.69 kB / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.355, allocations: 147.4 kB / 0.5675 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3553, allocations: 203.2 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.3553, allocations: 16 kB / 0.5677 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3555, allocations: 63.98 kB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3556, allocations: 147.5 kB / 0.5679 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.3558, allocations: 170.6 kB / 0.568 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.3563, allocations: 396.5 kB / 0.5684 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3563, allocations: 4 kB / 0.5684 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3563, allocations: 4 kB / 0.5684 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3563, allocations: 0 / 0.5684 GB, free: 14.43 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.00102/0.3573, allocations: 0.7251 MB / 0.5691 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3573, allocations: 8.031 kB / 0.5691 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.3576, allocations: 72.55 kB / 0.5692 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.3583, allocations: 410.4 kB / 0.5696 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3583, allocations: 8.375 kB / 0.5696 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.3583, allocations: 12.38 kB / 0.5696 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.3586, allocations: 159.4 kB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3587, allocations: 3.953 kB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3587, allocations: 4 kB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3587, allocations: 4 kB / 0.5698 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3589, allocations: 87.94 kB / 0.5699 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.3599, allocations: 0.6519 MB / 0.5705 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.3601, allocations: 109.2 kB / 0.5706 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3602, allocations: 45.83 kB / 0.5706 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3603, allocations: 11.97 kB / 0.5707 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3603, allocations: 38.5 kB / 0.5707 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3603, allocations: 0 / 0.5707 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001466/0.3618, allocations: 0.558 MB / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3618, allocations: 85.11 kB / 0.5713 GB, free: 11.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3629, allocations: 0.9101 MB / 0.5722 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.363, allocations: 29.7 kB / 0.5722 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3632, allocations: 252.4 kB / 0.5725 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.3632, allocations: 55.53 kB / 0.5725 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.3633, allocations: 33.7 kB / 0.5726 GB, free: 9.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3635, allocations: 370.8 kB / 0.5729 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3637, allocations: 67.95 kB / 0.573 GB, free: 9.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3639, allocations: 88.89 kB / 0.5731 GB, free: 9.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.3642, allocations: 153.7 kB / 0.5732 GB, free: 9.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3642, allocations: 0 / 0.5732 GB, free: 9.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004913/0.3647, allocations: 253.1 kB / 0.5734 GB, free: 9.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3647, allocations: 10.5 kB / 0.5735 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3647, allocations: 0 / 0.5735 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3647, allocations: 0 / 0.5735 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.3649, allocations: 43.89 kB / 0.5735 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3649, allocations: 4 kB / 0.5735 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3651, allocations: 12 kB / 0.5735 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3651, allocations: 11.98 kB / 0.5735 GB, free: 8.965 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.0002274/0.3653, allocations: 213.7 kB / 0.5737 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3654, allocations: 55.62 kB / 0.5738 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.366, allocations: 299.1 kB / 0.5741 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.366, allocations: 4 kB / 0.5741 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.366, allocations: 0 / 0.5741 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.366, allocations: 0 / 0.5741 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3673, allocations: 0.7858 MB / 0.5748 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3673, allocations: 3.938 kB / 0.5748 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3674, allocations: 43.91 kB / 0.5749 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3674, allocations: 4 kB / 0.5749 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3675, allocations: 0 / 0.5749 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3675, allocations: 4 kB / 0.5749 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3675, allocations: 0 / 0.5749 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.368, allocations: 426.2 kB / 0.5753 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3682, allocations: 63.61 kB / 0.5754 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.3682, allocations: 11.98 kB / 0.5754 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.3684, allocations: 4 kB / 0.5754 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.3684, allocations: 23.91 kB / 0.5754 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3685, allocations: 4 kB / 0.5754 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007785/0.3692, allocations: 0.663 MB / 0.576 GB, free: 6.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 0 / 0.576 GB, free: 6.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.3696, allocations: 55.98 kB / 0.5761 GB, free: 6.238 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.001616/0.3712, allocations: 398.4 kB / 0.5765 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.3717, allocations: 155.8 kB / 0.5766 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3717, allocations: 0 / 0.5766 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3719, allocations: 91.86 kB / 0.5767 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.3725, allocations: 83 kB / 0.5768 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3741, allocations: 0.9557 MB / 0.5777 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.3747, allocations: 0.8692 MB / 0.5786 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3748, allocations: 43.42 kB / 0.5786 GB, free: 3.723 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3748, allocations: 0 / 0.5786 GB, free: 3.723 MB / 414.1 MB Notification: Performance of Templates: time 0.01009/0.3849, allocations: 5.86 MB / 0.5843 GB, free: 13.87 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.226001974893734]