Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001604/0.001604, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002063/0.002063, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.93 MB / 361.5 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3315, allocations: 66.08 MB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00357/0.3351, allocations: 2.057 MB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3374, allocations: 1.38 MB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3375, allocations: 7.938 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.3378, allocations: 59.5 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.3382, allocations: 211.1 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3395, allocations: 0.5963 MB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.34, allocations: 327 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.3402, allocations: 60.67 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.3404, allocations: 147.3 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3407, allocations: 199.3 kB / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.3407, allocations: 12 kB / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3409, allocations: 75.89 kB / 0.567 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.341, allocations: 147.5 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3412, allocations: 162.6 kB / 0.5673 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.3417, allocations: 408.5 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3417, allocations: 0 / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3417, allocations: 0 / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3417, allocations: 0 / 0.5676 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.001034/0.3427, allocations: 0.7212 MB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3428, allocations: 12.03 kB / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.343, allocations: 80.53 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.3437, allocations: 402.4 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3437, allocations: 8.375 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3437, allocations: 8.375 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.344, allocations: 147.5 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.344, allocations: 7.953 kB / 0.569 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3441, allocations: 0 / 0.569 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3441, allocations: 8 kB / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3443, allocations: 99.86 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.3453, allocations: 0.6441 MB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3455, allocations: 117.3 kB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.3456, allocations: 49.69 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3456, allocations: 4 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3456, allocations: 30.56 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3456, allocations: 0 / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001387/0.347, allocations: 0.5664 MB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3471, allocations: 81.11 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.3481, allocations: 0.9062 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3481, allocations: 29.7 kB / 0.5715 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.3483, allocations: 264.3 kB / 0.5717 GB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.3484, allocations: 51.53 kB / 0.5718 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.3485, allocations: 41.64 kB / 0.5718 GB, free: 9.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3486, allocations: 374.8 kB / 0.5721 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3488, allocations: 55.95 kB / 0.5722 GB, free: 9.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.349, allocations: 85.67 kB / 0.5723 GB, free: 9.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3493, allocations: 153.6 kB / 0.5724 GB, free: 9.305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3493, allocations: 0 / 0.5724 GB, free: 9.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004776/0.3498, allocations: 257.3 kB / 0.5727 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3498, allocations: 8 kB / 0.5727 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3498, allocations: 4 kB / 0.5727 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3498, allocations: 0 / 0.5727 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.35, allocations: 35.97 kB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.35, allocations: 7.938 kB / 0.5727 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3501, allocations: 15.98 kB / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3502, allocations: 8 kB / 0.5728 GB, free: 8.969 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.0002217/0.3504, allocations: 219 kB / 0.573 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3505, allocations: 63.62 kB / 0.573 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.3511, allocations: 282.3 kB / 0.5733 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3511, allocations: 0 / 0.5733 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3511, allocations: 0 / 0.5733 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3511, allocations: 7.984 kB / 0.5733 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3523, allocations: 0.7781 MB / 0.5741 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3523, allocations: 0 / 0.5741 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3524, allocations: 43.84 kB / 0.5741 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3524, allocations: 0 / 0.5741 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3525, allocations: 7.984 kB / 0.5741 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3525, allocations: 8 kB / 0.5741 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3525, allocations: 0 / 0.5741 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.353, allocations: 424.7 kB / 0.5745 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3531, allocations: 67.61 kB / 0.5746 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3532, allocations: 0 / 0.5746 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3533, allocations: 19.98 kB / 0.5746 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3534, allocations: 19.91 kB / 0.5746 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3534, allocations: 8 kB / 0.5746 GB, free: 6.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007486/0.3542, allocations: 0.6591 MB / 0.5753 GB, free: 6.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 0.5753 GB, free: 6.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3545, allocations: 56 kB / 0.5753 GB, free: 6.246 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.001482/0.356, allocations: 401 kB / 0.5757 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.3564, allocations: 155.8 kB / 0.5759 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3564, allocations: 0 / 0.5759 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3566, allocations: 83.89 kB / 0.5759 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.3572, allocations: 77.84 kB / 0.576 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3586, allocations: 0.9713 MB / 0.577 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3591, allocations: 0.8653 MB / 0.5778 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3592, allocations: 47.41 kB / 0.5779 GB, free: 3.727 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3592, allocations: 0 / 0.5779 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Templates: time 0.009114/0.3683, allocations: 5.866 MB / 0.5836 GB, free: 13.87 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.940982423024252]